mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
LSldapObject :: fireEvent() : Fixed notice PHP
This commit is contained in:
parent
c3d2bc0751
commit
813b2222f7
1 changed files with 2 additions and 2 deletions
|
@ -1842,7 +1842,7 @@ class LSldapObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Binding via addEvent
|
// Binding via addEvent
|
||||||
if (is_array($this -> _events[$event])) {
|
if (isset($this -> _events[$event]) && is_array($this -> _events[$event])) {
|
||||||
foreach ($this -> _events[$event] as $e) {
|
foreach ($this -> _events[$event] as $e) {
|
||||||
if ($e['class']) {
|
if ($e['class']) {
|
||||||
if (class_exists($e['class'])) {
|
if (class_exists($e['class'])) {
|
||||||
|
@ -1885,7 +1885,7 @@ class LSldapObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Binding via addObjectEvent
|
// Binding via addObjectEvent
|
||||||
if (is_array($this -> _objectEvents[$event])) {
|
if (isset($this -> _objectEvents[$event]) && is_array($this -> _objectEvents[$event])) {
|
||||||
foreach ($this -> _objectEvents[$event] as $e) {
|
foreach ($this -> _objectEvents[$event] as $e) {
|
||||||
if (method_exists($e['obj'],$e['meth'])) {
|
if (method_exists($e['obj'],$e['meth'])) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue