[geeklog-cvs] geeklog: suppress warning about get_magic_quotes_gpc() being dep...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Sep 18 12:15:18 EDT 2011
changeset 8417:ebc5e392726f
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/ebc5e392726f
user: Dirk Haun <dirk at haun-online.de>
date: Sun Sep 18 10:19:09 2011 +0200
description:
suppress warning about get_magic_quotes_gpc() being deprecated
diffstat:
system/classes/kses.class.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 6f5ff29e612e -r ebc5e392726f system/classes/kses.class.php
--- a/system/classes/kses.class.php Sun Sep 18 18:09:51 2011 +0200
+++ b/system/classes/kses.class.php Sun Sep 18 10:19:09 2011 +0200
@@ -121,7 +121,7 @@
*/
function Parse($string = "")
{
- if (get_magic_quotes_gpc())
+ if (@get_magic_quotes_gpc())
{
//$string = stripslashes($string);
}
@@ -1157,4 +1157,4 @@
}
}
}
-?>
\ No newline at end of file
+?>
More information about the geeklog-cvs
mailing list