diff --git a/lib/util.php b/lib/util.php index 02ac2e505f..55cef99c2e 100644 --- a/lib/util.php +++ b/lib/util.php @@ -237,6 +237,9 @@ class OC_Util { if(!function_exists('ctype_digit')){ $errors[]=array('error'=>'PHP module ctype is not installed.
','hint'=>'Please ask your server administrator to install the module.'); } + if(!function_exists('json_encode')){ + $errors[]=array('error'=>'PHP module JSON is not installed.
','hint'=>'Please ask your server administrator to install the module.'); + } return $errors; }