drop code related to old printer friendly
[squirrelmail.git] / include / init.php
index d12b71d83dcaef6c42858ab46af8b79a5e63b73c..05d9cbae0e8e4ac7e05b841a6974a48e69be808a 100644 (file)
@@ -203,7 +203,7 @@ ini_set('magic_quotes_runtime','0');
 
 /* if running with magic_quotes_gpc then strip the slashes
    from POST and GET global arrays */
-if (get_magic_quotes_gpc()) {
+if (function_exists('get_magic_quotes_gpc') && @get_magic_quotes_gpc()) {
     sqstripslashes($_GET);
     sqstripslashes($_POST);
 }