Ignore:
Timestamp:
Mar 17, 2013, 3:55:39 PM (11 years ago)
Author:
mistic100
Message:

replace mysql_* by pwg_db_* and correct errors inherited by mysql return values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/main.inc.php

    r10458 r21652  
    249249    ");
    250250    $insert = array();
    251     while ($row = mysql_fetch_assoc($result))
     251    while ($row = pwg_db_fetch_assoc($result))
    252252     $insert[] = "(".$new_user['id'].",".$row['cat_id'].")";
    253253    if (!empty($insert)) pwg_query("
     
    263263    ");
    264264    $insert = array();
    265     while ($row = mysql_fetch_assoc($result))
     265    while ($row = pwg_db_fetch_assoc($result))
    266266     $insert[] = "(".$new_user['id'].",".$row['group_id'].")";
    267267    if (!empty($insert)) pwg_query("
     
    277277    ");
    278278    $insert = array();
    279     while ($row = mysql_fetch_assoc($result))
     279    while ($row = pwg_db_fetch_assoc($result))
    280280     $insert[] = "(".$new_user['id'].",".$row['level'].")";
    281281    if (!empty($insert)) pwg_query("
Note: See TracChangeset for help on using the changeset viewer.