Browse files

Fixed a bug about magic quotes.

  • Loading branch information...
1 parent b87a676 commit 81849070ac7ff13948786b5dbc675806d8fd2c5c @dahlia dahlia committed Mar 28, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 Lisphp/Environment.php
View
1 Lisphp/Environment.php
@@ -75,6 +75,7 @@ static function full() {
protected static $antimagicFunction = null;
protected static function antimagic($vars) {
+ if (!get_magic_quotes_gpc()) return ($vars);
if (!$f = self::$antimagicFunction) {
self::$antimagicFunction = create_function('$vars', '
return is_array($vars)

0 comments on commit 8184907

Please sign in to comment.