Ignore:
Timestamp:
Nov 15, 2009, 1:26:09 PM (14 years ago)
Author:
nikrou
Message:

Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_permalinks.php

    r3282 r4265  
    5353  $cat_id = null;
    5454  if ( mysql_num_rows($result) )
    55     list( $cat_id ) = mysql_fetch_array($result);
     55    list( $cat_id ) = mysql_fetch_row($result);
    5656  return $cat_id;
    5757}
     
    7575  if ( mysql_num_rows($result) )
    7676  {
    77     list($permalink) = mysql_fetch_array($result);
     77    list($permalink) = mysql_fetch_row($result);
    7878  }
    7979  if ( !isset($permalink) )
Note: See TracChangeset for help on using the changeset viewer.