v0.6.1 - can't delete entries
Brought to you by:
ashnod
Hi there,
i've just upgraded to 0.6.1. now i can't delete
entries. The following error-message is displayed when
clicking 'delete':
Fatal error: Cannot use object of type GuestBookEntry
as array in
/<*********>/modules/postguestbook/pnadmin.php on line 249
I hope you will be able to fix it soon.
regards
Timm
Logged In: NO
I don't know much about php but in Perl arrays are defined
by @. So I changed the line 249 from
if (!pnSecAuthAction(0, 'postguestbook::Item',
"$item[name]::$id", ACCESS_DELETE))
to
if (!pnSecAuthAction(0, 'postguestbook::Item',
"@item[name]::$id", ACCESS_DELETE))
I hope it works correctly now.