From: Javier B. <jb...@us...> - 2004-11-17 08:08:47
|
Update of /cvsroot/openbash-org/openbash-org/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7134/modules Modified Files: Quote.php Log Message: otro bug en la consulta de insercion xD Index: Quote.php =================================================================== RCS file: /cvsroot/openbash-org/openbash-org/modules/Quote.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Quote.php 17 Nov 2004 07:50:45 -0000 1.7 --- Quote.php 17 Nov 2004 08:08:37 -0000 1.8 *************** *** 19,29 **** $deleted = 0; // by default the quote is not purged, of course xD $pending = 1; // by default quote gets marked as pending until an admin validates it $sql = "INSERT INTO quote ! (`id`,`points`,`deleted`,`author`,`channel`,`network`,`pending`,`ip`) VALUES ( '', '$points', '$quote', - '$purge', '$author', '$channel', --- 19,30 ---- $deleted = 0; // by default the quote is not purged, of course xD $pending = 1; // by default quote gets marked as pending until an admin validates it + $points = 0; $sql = "INSERT INTO quote ! (`id`,`points`,`deleted`,`quote`,`author`,`channel`,`network`,`pending`,`ip`) VALUES ( '', '$points', + '$deleted', '$quote', '$author', '$channel', |