Changeset 335


Ignore:
Timestamp:
Jan 30, 2004, 11:49:59 PM (20 years ago)
Author:
z0rglub
Message:

Php Warning correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_3/include/functions_group.inc.php

    r57 r335  
    8686    $query.= ';';
    8787    $row = mysql_fetch_array( mysql_query( $query ) );
    88     if ( $row['id_uppercat'] == '' )
    89     {
    90       $is_root = true;
    91     }
     88    if ( !isset( $row['id_uppercat'] ) ) $row['id_uppercat'] = '';
     89    if ( $row['id_uppercat'] == '' ) $is_root = true;
    9290    $category_id = $row['id_uppercat'];
    9391  }
Note: See TracChangeset for help on using the changeset viewer.