Changeset 294
- Timestamp:
- 12/20/07 09:53:33 (15 years ago)
- Location:
- dev/common
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/globals.php
r293 r294 1 1 <?php 2 2 // current subversion revision 3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 29 3$', $match);3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 294 $', $match); 4 4 define('SVN_REV', $match[1]); 5 5 -
dev/common/kill_detail.php
r293 r294 13 13 { 14 14 $smarty->assign('admin', 'true'); 15 if (isset($_POST['submit']) == 'UpdateValue')15 if (isset($_POST['submit']) && $_POST['submit'] == 'UpdateValue') 16 16 { 17 17 // Send new value for item to the database … … 24 24 } 25 25 26 if (isset($_GET['view']) == 'FixSlot'){27 $smarty->assign('fixSlot', 'true');28 }29 30 26 if ($page->isAdmin()) 31 27 { 32 if (isset($_GET['view']) == 'FixSlot'){28 if (isset($_GET['view']) && $_GET['view']== 'FixSlot'){ 33 29 $smarty->assign('fixSlot', 'true'); 34 30 } … … 36 32 37 33 $smarty->assign('admin', 'true'); 38 if (isset($_POST['submit']) == 'UpdateSlot')34 if (isset($_POST['submit']) && $_POST['submit'] == 'UpdateSlot') 39 35 { 40 36 $IID = $_POST['IID']; … … 45 41 $qry = new DBQuery(); 46 42 $qry->execute("UPDATE kb3_items_".$table." SET itd_itl_id ='".$Val."' WHERE itd_itm_id=".$IID." AND itd_kll_id = ".$KID." AND itd_itl_id = ".$old); 47 //echo "UPDATE kb3_items_".$table." itd_itl_id ='".$Val."' WHERE itd_itm_id=".$IID." AND itd_kll_id = ".$KID." AND itd_itl_id = ".$old;48 43 } 49 44 }