.......... Undefined value as a HASH reference ........

5 Feb
2007
5 Feb
'07
2:48 p.m.
in the function of the "search customer" i get the value of '%{$Content[0]' = ' ' and the system crash with the message "Can't use an undefined value as a HASH reference at Knel/System/Ticket/Article.pm line 1004 ". i resolv thi error changing the if control in the sub "ArticleGet" from: if ($Param{ArticleID}) { return %{$Content[0]}; } else { return @Content; } to : if ($Param{ArticleID} && $Content[0] ) { return %{$Content[0]}; } else { return @Content; } is correct ? is a bug ? Now when "Search customer" i get some the article empy !!! thanks and wait for reply bye
6738
Age (days ago)
6738
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piergiovanni Gualotto