Ignore:
Timestamp:
Mar 6, 2013, 1:54:04 PM (11 years ago)
Author:
plg
Message:

compatibility with Piwigo 2.5: replace functions mysql_* with pwg_db_* equivalent

switch version to "auto"

use the new $template->add_index_button function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/generate_rss.php

    r18935 r21238  
    251251                                        $result = pwg_query($query);
    252252
    253                                         while ($row = mysql_fetch_assoc($result))
     253                                        while ($row = pwg_db_fetch_assoc($result))
    254254                                        {
    255255                                                if (!(in_array($row['id'], explode(',', $user['forbidden_categories']))))
     
    386386                        $result = pwg_query($query);
    387387                       
    388                         while ($row = mysql_fetch_assoc($result))
     388                        while ($row = pwg_db_fetch_assoc($result))
    389389                        {
    390390                                // Plugin Extended Description present et active
     
    756756                $first = true;
    757757
    758                 while ($row = mysql_fetch_array($result))
     758                while ($row = pwg_db_fetch_assoc($result))
    759759                {
    760760               
Note: See TracChangeset for help on using the changeset viewer.