Changeset 306


Ignore:
Timestamp:
Jan 21, 2004, 8:49:57 AM (20 years ago)
Author:
z0rglub
Message:

Php warning correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_3/admin/include/functions.php

    r293 r306  
    525525  {
    526526    $plain_structure[$row['id']]['id'] = $row['id'];
     527    if ( !isset( $row['id_uppercat'] ) ) $row['id_uppercat'] = 'NULL';
    527528    $plain_structure[$row['id']]['id_uppercat'] = $row['id_uppercat'];
    528529    if ( $use_name ) $plain_structure[$row['id']]['name'] = $row['name'];
    529530    // subcats list
    530     if ( $row['id_uppercat'] == '' ) $row['id_uppercat'] = 'NULL';
    531531    if ( $row['id_uppercat'] != $id_uppercat )
    532532    {
Note: See TracChangeset for help on using the changeset viewer.