Changeset 20517


Ignore:
Timestamp:
02/02/13 15:34:29 (7 years ago)
Author:
mistic100
Message:

use fetch_assoc instead of fetch_array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/main.inc.php

    r20405 r20517  
    293293  $result = pwg_query($query); 
    294294 
    295   if($result and $category = pwg_db_fetch_array($result)) 
     295  if($result and $category = pwg_db_fetch_assoc($result)) 
    296296  { 
    297297    $template->set_filename('extended_description_content', dirname(__FILE__) . '/template/cat.tpl'); 
     
    354354 
    355355    $imglist=array(); 
    356     while ($picture = pwg_db_fetch_array($result)) 
     356    while ($picture = pwg_db_fetch_assoc($result)) 
    357357    { 
    358358      $imglist[$picture["id"]]=$picture; 
Note: See TracChangeset for help on using the changeset viewer.