From d526decc4884710ae7fafe7aa5171e7f59b24292 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Sun, 27 Dec 2009 15:44:57 +0000 Subject: MySQL -> MySQLi Fixed memory leaks after Fetching arrays Removed all while loops that interfaced with $db->Fetch() Rewrote RSS module Fixed syntax error in donations module Fixed link structure for news module Reverting to old page display method git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@402 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- admin/newsreel/updateDB.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'admin/newsreel/updateDB.php') diff --git a/admin/newsreel/updateDB.php b/admin/newsreel/updateDB.php index 904e578..f4031a2 100644 --- a/admin/newsreel/updateDB.php +++ b/admin/newsreel/updateDB.php @@ -3,7 +3,7 @@ include '../../includes/debug.php'; include '../../includes/config.php'; include '../../includes/sql.class.php'; -include '../functions.php'; +include '../../includes/functions.php'; $action = $_POST['action']; $updateRecordsArray = $_POST['recordsArray']; @@ -22,7 +22,6 @@ if ($action == "updateReelOrder"){ foreach ($updateRecordsArray as $recordIDValue) { $db->Query("UPDATE `bayonet_newsreel` SET `weight` = '$listingCounter' WHERE `slide_id` = '$recordIDValue'"); - //mysql_query($query) or die('Error, insert query failed'); $listingCounter = $listingCounter + 1; } echo ""; -- cgit