Author: lesabotsy
Date: Fri Apr 27 08:57:08 2007
New Revision: 373
URL: http://svn.gna.org/viewcvs/phplinker?rev=373&view=rev
Log:
Edit the condition
Modified:
trunk/www/admin/moderator.php
Modified: trunk/www/admin/moderator.php
URL:
http://svn.gna.org/viewcvs/phplinker/trunk/www/admin/moderator.php?rev=373&r1=372&r2=373&view=diff
==============================================================================
--- trunk/www/admin/moderator.php (original)
+++ trunk/www/admin/moderator.php Fri Apr 27 08:57:08 2007
@@ -89,7 +89,7 @@
}
if(isset($_GET['mod']) && $_GET['mod']!="" ){
-if(($action == "update") && isset($action) && isset($_GET['mod']) &&
$_GET['mod']!="Array" && $_GET["todo"]=="Valider"){
+if(($action == "update") && isset($action) && isset($_GET['mod']) &&
$_GET['mod']!="Array" && $_GET["todo"]=="Accepter"){
foreach($_GET['mod'] as $value){
$update = sql_query('die',__FILE__,__LINE__,__FUNCTION__,"UPDATE url SET
state = 'moderated' WHERE id=".$value);
}
_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits