Jump to content

iJoomla Magazine


Alejandro

Recommended Posts

The page stops loading and throws a fatal error when jReviews is used with iJoomla Magazine. To fix this problem, edit the following function as shown in /com_jreviews/s2framework/basics.php. This will be changed in the next version of jReviews.

 

if(!function_exists('stripslashes_deep')) {
function stripslashes_deep($value) {
  if (is_array($value)) {
   $return = array_map('stripslashes_deep', $value);
   return $return;
  } elseif(is_object($value)) { // We don't process objects!
    return $value;
} else {
   $return = stripslashes($value);
   return $return;
  }
}
}

Link to comment
  • 4 months later...
×
×
  • Create New...