forked from ZwiiCMS-Team/ZwiiCMS
Check Modules
This commit is contained in:
parent
433342c2a8
commit
9f6202e639
@ -904,7 +904,6 @@ class blog extends common
|
||||
*/
|
||||
public function signature($userId)
|
||||
{
|
||||
if ($this->getUser('permission', __CLASS__, __FUNCTION__) !== true) {
|
||||
switch ($this->getData(['user', $userId, 'signature'])) {
|
||||
case 1:
|
||||
return $userId;
|
||||
@ -922,6 +921,4 @@ class blog extends common
|
||||
return $this->getData(['user', $userId, 'firstname']);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
# Version 3.10
|
||||
- Bloque l'effacement selon le profil
|
||||
- Masque le code de vérification
|
||||
- Export des données en CSV impossible
|
||||
# Version 3.9
|
||||
- Redirection des pages orphelines
|
||||
# Version 3.8
|
||||
|
@ -235,7 +235,7 @@ class form extends common
|
||||
{
|
||||
$data = $this->getData(['module', $this->getUrl(0), 'data']);
|
||||
if (
|
||||
$this->getUser('permission', __CLASS__, __FUNCTION__) !== true &&
|
||||
$this->getUser('permission', __CLASS__, __FUNCTION__) === true &&
|
||||
$data
|
||||
) {
|
||||
// Pagination
|
||||
@ -297,7 +297,7 @@ class form extends common
|
||||
fclose($fp);
|
||||
// Valeurs en sortie
|
||||
$this->addOutput([
|
||||
'notification' => sprintf(helper::translate('Export CSV effectué dans %1 '), $csvfilename),
|
||||
'notification' => sprintf(helper::translate('Export CSV effectué dans %s '), $csvfilename ),
|
||||
'redirect' => helper::baseUrl() . $this->getUrl(0) . '/data',
|
||||
'state' => true
|
||||
]);
|
||||
|
@ -177,7 +177,6 @@ class search extends common
|
||||
$this->update();
|
||||
|
||||
if (
|
||||
$this->getUser('permission', __CLASS__, __FUNCTION__) === true &&
|
||||
$this->isPost()
|
||||
) {
|
||||
//Initialisations variables
|
||||
|
Loading…
Reference in New Issue
Block a user