Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
4f498424
Commit
4f498424
authored
Jul 09, 2021
by
ludo
Browse files
correction du probleme d'affichage des entités.
parent
27923634
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/administration/controllers/AdministrationController.php
View file @
4f498424
...
@@ -58,7 +58,11 @@ class AdministrationController
...
@@ -58,7 +58,11 @@ class AdministrationController
}
}
if
(
PrivilegeController
::
hasPrivilege
([
'privilegeId'
=>
'manage_entities'
,
'userId'
=>
$GLOBALS
[
'id'
]]))
{
if
(
PrivilegeController
::
hasPrivilege
([
'privilegeId'
=>
'manage_entities'
,
'userId'
=>
$GLOBALS
[
'id'
]]))
{
$entities
=
EntityModel
::
get
([
'select'
=>
[
1
]]);
$entities
=
EntityModel
::
get
([
'select'
=>
[
1
],
'where'
=>
[
'enabled != ?'
],
'data'
=>
[
'N'
]
]);
$count
[
'entities'
]
=
count
(
$entities
);
$count
[
'entities'
]
=
count
(
$entities
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment