diff options
Diffstat (limited to 'admin/element_set_global.php')
-rw-r--r-- | admin/element_set_global.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/element_set_global.php b/admin/element_set_global.php index 20a4c658b..3676309e5 100644 --- a/admin/element_set_global.php +++ b/admin/element_set_global.php @@ -245,7 +245,7 @@ SELECT id ;'; $result = pwg_query($query); - while ($row = mysql_fetch_assoc($result)) + while ($row = pwg_db_fetch_assoc($result)) { $data = array(); $data['id'] = $row['id']; @@ -337,7 +337,7 @@ SELECT WHERE id IN ('.implode(',', $page['cat_elements_id']).') AND storage_category_id IS NULL ;'; - list($counter) = mysql_fetch_row(pwg_query($query)); + list($counter) = pwg_db_fetch_row(pwg_query($query)); if ($counter > 0) { @@ -481,7 +481,7 @@ SELECT id,path,tn_ext,file,filesize,level // template thumbnail initialization - while ($row = mysql_fetch_assoc($result)) + while ($row = pwg_db_fetch_assoc($result)) { $src = get_thumbnail_url($row); |