From: Tim H. <tj...@us...> - 2010-11-30 15:45:43
|
Update of /cvsroot/stack/stack-dev In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv12186 Modified Files: index.php Log Message: Fix a whole bunch of notices encountered while importing questions. Index: index.php =================================================================== RCS file: /cvsroot/stack/stack-dev/index.php,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** index.php 1 Oct 2010 15:02:54 -0000 1.44 --- index.php 30 Nov 2010 15:45:35 -0000 1.45 *************** *** 63,66 **** --- 63,67 ---- if(!empty($selected)) { + $msg = ''; $msg .= '<h3 class="section">'.get_string('FE_confirmDelete','stack').'</h3>'; $msg .= '<p>'.get_string('FE_deleteMsg','stack',count($selected)).'</p>'; *************** *** 245,253 **** // get question list ! $filter=array('order1'=>'','order2'=>'','order2'=>''); if (array_key_exists('bank_filter',$_POST)) { $filter['order1']=$_POST['bank_filter']['order1']; $filter['order2']=$_POST['bank_filter']['order2']; ! $filter['order3']=$_POST['bank_filter']['order3']; } --- 246,256 ---- // get question list ! $filter=array('order1'=>'','order2'=>'','order3'=>''); if (array_key_exists('bank_filter',$_POST)) { $filter['order1']=$_POST['bank_filter']['order1']; $filter['order2']=$_POST['bank_filter']['order2']; ! if (array_key_exists('order3', $_POST['bank_filter'])) { ! $filter['order3']=$_POST['bank_filter']['order3']; ! } } |