Update of /cvsroot/phpwiki/phpwiki
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25451
Modified Files:
admin.php
Log Message:
fix for RemovePage when get_magic_quotes_gpc()==1
Index: admin.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/admin.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** admin.php 2000/11/08 15:43:46 1.2
--- admin.php 2000/11/08 16:48:34 1.3
***************
*** 43,46 ****
--- 43,48 ----
} elseif (isset($remove)) {
if (function_exists('RemovePage')) {
+ if (get_magic_quotes_gpc())
+ $remove = stripslashes($remove);
RemovePage($dbi, $remove);
$html = "Removed page '" . htmlspecialchars($remove)
|