|
From: Jon O. <jon...@us...> - 2008-02-18 18:35:35
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31653 Modified Files: mx_functions.php Log Message: Minor sql bug tinymce bg color Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** mx_functions.php 11 Feb 2008 22:52:56 -0000 1.81 --- mx_functions.php 18 Feb 2008 18:35:30 -0000 1.82 *************** *** 59,63 **** global $db; ! $sql = "SELECT COUNT(*) AS total FROM $table WHERE $idfield = $id"; if( !($result = $db->sql_query($sql)) ) { --- 59,63 ---- global $db; ! $sql = "SELECT COUNT(*) AS total FROM $table WHERE $idfield = '$id'"; if( !($result = $db->sql_query($sql)) ) { |