Changeset 21238 for extensions/piclens/admin/piclenswallconfig.php
- Timestamp:
- Mar 6, 2013, 1:54:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/piclenswallconfig.php
r8780 r21238 43 43 if (!empty($result)) 44 44 { 45 while ($row = mysql_fetch_assoc($result))45 while ($row = pwg_db_fetch_assoc($result)) 46 46 array_push($categories, $row); 47 47 } … … 67 67 $me->my_config['piclens_wall_nav'] = isset($_POST['piclens_wall_nav']); 68 68 $me->my_config['piclens_wall_cat_nav_replace'] = isset($_POST['categories_nav']) ? 69 array_map(" mysql_escape_string", $_POST['categories_nav']) :69 array_map("pwg_db_real_escape_string", $_POST['categories_nav']) : 70 70 array(); 71 71 $me->my_config['piclens_wall_specif'] = $_POST['piclens_wall_specif']; … … 124 124 if (!empty($result)) 125 125 { 126 while ($row = mysql_fetch_assoc($result))126 while ($row = pwg_db_fetch_assoc($result)) 127 127 array_push($categories, $row); 128 128 } … … 157 157 if (!empty($result)) 158 158 { 159 while ($row = mysql_fetch_assoc($result))159 while ($row = pwg_db_fetch_assoc($result)) 160 160 array_push($categories, $row); 161 161 }
Note: See TracChangeset
for help on using the changeset viewer.