﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
7	Unsauberkeit in /includes/modules/product_listing.php	Ronald Parcinski	H. H. H.	"Wir haben noch ein Unsauberkeit im Code. Bei der erweiterten Suche ergibt

{{{
$category = xtc_db_fetch_array($category_query,true)
}}}
ein FALSE, normal ist aber ein array()

Vorschlag, damit $category immer ein Array ist:

{{{
if ($category = xtc_db_fetch_array($category_query,true)) {
    $image = '';
    if ($category['categories_image'] != '') {
      $image = DIR_WS_IMAGES.'categories/'.$category['categories_image'];
      if(!file_exists($image)) $image = DIR_WS_IMAGES.'categories/noimage.gif';
    }
  } else {
    $category = array();
  }
}}}"	Bug/Fehler	closed	normal	modified-shop-2.0.0.0	Shop	2.0.0.0	fixed				
