[geeklog-cvs] geeklog: Suppress get_magic_quotes_gpc() deprecated warning (as ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Aug 28 11:09:00 EDT 2011
changeset 8386:cd0bba35b9cc
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/cd0bba35b9cc
user: Dirk Haun <dirk at haun-online.de>
date: Sun Aug 07 11:17:30 2011 +0200
description:
Suppress get_magic_quotes_gpc() deprecated warning (as of PHP 5.4)
diffstat:
public_html/lib-common.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4b684fb75ce4 -r cd0bba35b9cc public_html/lib-common.php
--- a/public_html/lib-common.php Sun Aug 07 11:16:31 2011 +0200
+++ b/public_html/lib-common.php Sun Aug 07 11:17:30 2011 +0200
@@ -5732,7 +5732,7 @@
*/
function COM_stripslashes( $text )
{
- if( get_magic_quotes_gpc() == 1 )
+ if( @get_magic_quotes_gpc() == 1 )
{
return( stripslashes( $text ));
}
More information about the geeklog-cvs
mailing list