Changeset 22121 for extensions


Ignore:
Timestamp:
Apr 10, 2013, 11:52:21 AM (11 years ago)
Author:
cljosse
Message:

[extensions] edit_gmap update to piwigo 2.5

Location:
extensions/edit_gmaps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/edit_gmaps/admin/admin_edit.php

    r22117 r22121  
    8888                                                                                                ;';
    8989                $result = pwg_query($query);
    90                 while ( $row=mysqli_fetch_assoc($result) )
     90                while ( $row=pwg_db_fetch_assoc($result) )
    9191                        $images[] = $row;
    9292
     
    251251        if(!isset($_GET['cat'])) $_GET['cat']="tag-no";
    252252        if (!empty($result)){
    253                 while ($row = mysqli_fetch_assoc($result))  {
     253                while ($row = pwg_db_fetch_assoc($result))  {
    254254                        $url = $admin_url.get_query_string_diff(array('start','cat')).'&cat='.$row['id'];
    255255
  • extensions/edit_gmaps/edit_gmaps.inc.php

    r22117 r22121  
    4444    $columns_of = array();
    4545    $query = 'DESC '.$table.';';
    46     $result = mysqli_fetch($query);     
     46    $result = pwg_db_fetch($query);     
    4747    $columns_of[$table] = array();   
    4848
    4949    if ($result)   
    50         while ($row = mysqli_fetch_row($result))
     50        while ($row = pwg_db_fetch_row($result))
    5151            array_push($columns_of[$table], $row[0]);
    5252       
Note: See TracChangeset for help on using the changeset viewer.