Changeset 4325 for trunk/feed.php


Ignore:
Timestamp:
Nov 20, 2009, 3:17:04 PM (15 years ago)
Author:
nikrou
Message:

Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/feed.php

    r4304 r4325  
    7676  WHERE id = \''.$feed_id.'\'
    7777;';
    78   $feed_row = mysql_fetch_assoc(pwg_query($query));
     78  $feed_row = pwg_db_fetch_assoc(pwg_query($query));
    7979  if ( empty($feed_row) )
    8080  {
     
    9898check_status(ACCESS_GUEST);
    9999
    100 list($dbnow) = mysql_fetch_row(pwg_query('SELECT NOW();'));
     100list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
    101101
    102102include_once(PHPWG_ROOT_PATH.'include/feedcreator.class.php');
Note: See TracChangeset for help on using the changeset viewer.