Commit eac9dee5 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5940-error-when-we-open-dashboard' into '1.4-dev'

Resolve "Error when we open dashboard"

See merge request fusiondirectory/fd!482
Showing with 5 additions and 0 deletions
+5 -0
...@@ -125,6 +125,11 @@ class dashboardUsers extends simplePlugin ...@@ -125,6 +125,11 @@ class dashboardUsers extends simplePlugin
$nb_groups = 0; $nb_groups = 0;
$nb_mail_groups = 0; $nb_mail_groups = 0;
$nb_samba_groups = 0; $nb_samba_groups = 0;
} catch (NonExistingObjectTypeException $e) {
/* Posix plugin is not installed */
$nb_groups = 0;
$nb_mail_groups = 0;
$nb_samba_groups = 0;
} }
return array( return array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment