mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-08 20:46:05 +00:00
fix wrong spell callback name 'onPostAddUser'
This commit is contained in:
parent
a39355f2ed
commit
e06cd59f6c
|
@ -2215,7 +2215,7 @@ class SeedDMS_Core_DMS {
|
|||
|
||||
/* Check if 'onPostAddUser' callback is set */
|
||||
if(isset($this->callbacks['onPostAddUser'])) {
|
||||
foreach($this->callbacks['onPostUser'] as $callback) {
|
||||
foreach($this->callbacks['onPostAddUser'] as $callback) {
|
||||
/** @noinspection PhpStatementHasEmptyBodyInspection */
|
||||
if(!call_user_func($callback[0], $callback[1], $user)) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user