Changeset 453


Ignore:
Timestamp:
Jul 26, 2004, 10:41:11 PM (20 years ago)
Author:
z0rglub
Message:

display search results even if no element found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r452 r453  
    270270
    271271//------------------------------------------------------ main part : thumbnails
    272 if (isset($page['cat']) and $page['cat_nb_images'] != 0)
     272if (isset($page['cat'])
     273    and ((is_numeric($page['cat']) and $page['cat_nb_images'] != 0)
     274         or $page['cat'] == 'search'))
    273275{
    274276  include(PHPWG_ROOT_PATH.'include/category_default.inc.php');
Note: See TracChangeset for help on using the changeset viewer.