Item::tagDeliver(): remove contact as array key for hooks because it was never declared
This commit is contained in:
parent
58b4169097
commit
af3a57376a
|
@ -471,3 +471,5 @@ mod/cb.php: Addon::callHooks('cb_afterpost');
|
|||
mod/cb.php: Addon::callHooks('cb_content', $o);
|
||||
|
||||
mod/directory.php: Addon::callHooks('directory_item', $arr);
|
||||
|
||||
src/Model/Item.php Addon::callHooks('tagged', $arr);
|
||||
|
|
|
@ -1294,8 +1294,7 @@ class Item extends BaseObject
|
|||
return;
|
||||
}
|
||||
|
||||
/// @todo Declare $r or lets remove it - Rabuzarus - 2018-02-12.
|
||||
$arr = ['item' => $item, 'user' => $u[0], 'contact' => $r[0]];
|
||||
$arr = ['item' => $item, 'user' => $u[0]];
|
||||
|
||||
Addon::callHooks('tagged', $arr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user