Skip to content

Commit

Permalink
Fix php error
Browse files Browse the repository at this point in the history
  • Loading branch information
ddurieux committed Jun 25, 2015
1 parent d8bbf3e commit d527cda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hook.php
Expand Up @@ -310,7 +310,8 @@ function plugin_timelineticket_giveItem($type,$ID,$data,$num) {
$out = "";
$a_out = array();
$a_groupname = array();
if (!strstr($data["ITEM_$num"], '$$')) {
if (!isset($data["ITEM_$num"])
or !strstr($data["ITEM_$num"], '$$')) {
return "";
}
$splitg = explode("$$$$", $data["ITEM_$num"]);
Expand Down

0 comments on commit d527cda

Please sign in to comment.