Retro comptabilité des hooks
This commit is contained in:
parent
38a68377a4
commit
2a92283fe5
|
@ -51,7 +51,11 @@ class m_hooks {
|
|||
if (is_null($hclass)) {
|
||||
global $classes;
|
||||
} else {
|
||||
$classes = array($hclass);
|
||||
if (is_array($hclass)) {
|
||||
$classes = $hclass;
|
||||
} else {
|
||||
$classes = array($hclass);
|
||||
}
|
||||
}
|
||||
|
||||
// On parcourt les classes, si la fonction qu'on cherche
|
||||
|
|
Loading…
Reference in New Issue