Ignore:
Timestamp:
Feb 13, 2014, 11:21:12 PM (10 years ago)
Author:
rvelices
Message:

more query2array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_notification.inc.php

    r26461 r27369  
    218218      }
    219219      $query = 'SELECT DISTINCT '.$field_id.' '.$query.';';
    220       $infos = array_from_query($query);
     220      $infos = query2array($query);
    221221      return $infos;
    222222      break;
     
    457457  LIMIT '.$max_dates.'
    458458;';
    459   $dates = array_from_query($query);
     459  $dates = query2array($query);
    460460
    461461  for ($i=0; $i<count($dates); $i++)
     
    472472  LIMIT '.$max_elements.'
    473473;';
    474       $dates[$i]['elements'] = array_from_query($query);
     474      $dates[$i]['elements'] = query2array($query);
    475475    }
    476476
     
    490490  LIMIT '.$max_cats.'
    491491;';
    492       $dates[$i]['categories'] = array_from_query($query);
     492      $dates[$i]['categories'] = query2array($query);
    493493    }
    494494  }
Note: See TracChangeset for help on using the changeset viewer.