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

more query2array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/calendar_base.class.php

    r26865 r27369  
    247247  GROUP BY period;';
    248248
    249     $level_items = simple_hash_from_query($query, 'period', 'nb_images');
     249    $level_items = query2array($query, 'period', 'nb_images');
    250250
    251251    if ( count($level_items)==1 and
     
    318318   
    319319    $current = implode('-', $page['chronology_date'] );
    320     $upper_items = array_from_query( $query, 'period');
     320    $upper_items = query2array($query,null, 'period');
    321321
    322322    usort($upper_items, 'version_compare');
Note: See TracChangeset for help on using the changeset viewer.