Changeset 4325 for trunk/admin/include/functions_permalinks.php
- Timestamp:
- Nov 20, 2009, 3:17:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_permalinks.php
r4265 r4325 52 52 $result = pwg_query($query); 53 53 $cat_id = null; 54 if ( mysql_num_rows($result) )55 list( $cat_id ) = mysql_fetch_row($result);54 if ( pwg_db_num_rows($result) ) 55 list( $cat_id ) = pwg_db_fetch_row($result); 56 56 return $cat_id; 57 57 } … … 73 73 ;'; 74 74 $result = pwg_query($query); 75 if ( mysql_num_rows($result) )76 { 77 list($permalink) = mysql_fetch_row($result);75 if ( pwg_db_num_rows($result) ) 76 { 77 list($permalink) = pwg_db_fetch_row($result); 78 78 } 79 79 if ( !isset($permalink) )
Note: See TracChangeset
for help on using the changeset viewer.