"fixed not working regular expression to hide .picture.jpg, it was hiding all attachments"

This commit is contained in:
Ralf Becker 2009-09-20 09:47:48 +00:00
parent 051b00b199
commit bfb5eb6682

View File

@ -109,7 +109,7 @@ class resources_hooks
'add_app' => 'link_app',
'add_id' => 'link_id',
'add_popup' => '800x600',
'find_extra' => array('name_preg' => '/^(?!.picture.jpg)$/'), // remove pictures from regular attachment list
'find_extra' => array('name_preg' => '/^(?(?=^.picture.jpg$)|.+)$/'), // remove pictures from regular attachment list
);
}