author | Dan |
Sun, 17 Feb 2008 14:14:59 -0500 | |
changeset 23 | 43f9c64a7672 |
parent 22 | 593180f9eea9 |
child 24 | 7f3bd3030ae9 |
--- a/plugins/gallery/viewimage.php Sat Feb 16 23:42:32 2008 -0500 +++ b/plugins/gallery/viewimage.php Sun Feb 17 14:14:59 2008 -0500 @@ -241,11 +241,13 @@ foreach ( $response as $key => $_ ) { unset($_); - $tag =& $response[$key]; + $tag = $response[$key]; + unset($response[$key]); $tag['note_id'] = $key; $tag['mode'] = 'add'; $tag['initial_hide'] = true; $tag['auth_delete'] = $perms->get_permissions('snapr_add_tag'); + $response[intval($key)] = $tag; } unset($tag); break;