diff options
| author | 2014-08-12 22:27:07 +0200 | |
|---|---|---|
| committer | 2014-08-12 22:27:07 +0200 | |
| commit | f2b1826b475a7ad71ee68b13d22c03259e631195 (patch) | |
| tree | 877456db128d293a9ce62a8bb5d3691ad06c754a /lib/Minz/Helper.php | |
| parent | aebf276a3955c6ccbc171c4f56ed0f8acf72c1ae (diff) | |
Fix missing Minz_ prefix in Minz_Helper
Nice bug :) It means another hidden bug is now corrected!
Diffstat (limited to 'lib/Minz/Helper.php')
| -rw-r--r-- | lib/Minz/Helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/Helper.php b/lib/Minz/Helper.php index 8d8b177ae..f4a547c4e 100644 --- a/lib/Minz/Helper.php +++ b/lib/Minz/Helper.php @@ -14,7 +14,7 @@ class Minz_Helper { */ public static function stripslashes_r($var) { if (is_array($var)){ - return array_map(array('Helper', 'stripslashes_r'), $var); + return array_map(array('Minz_Helper', 'stripslashes_r'), $var); } else { return stripslashes($var); } @@ -26,7 +26,7 @@ class Minz_Helper { */ public static function htmlspecialchars_utf8($var) { if (is_array($var)) { - return array_map(array('Helper', 'htmlspecialchars_utf8'), $var); + return array_map(array('Minz_Helper', 'htmlspecialchars_utf8'), $var); } return htmlspecialchars($var, ENT_COMPAT, 'UTF-8'); } |
