Ignore:
Timestamp:
Nov 29, 2009, 1:35:19 PM (14 years ago)
Author:
nikrou
Message:

Feature_1255 :

  • single quotes in queries
  • start using $confdblayer
File:
1 edited

Legend:

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

    r3282 r4385  
    259259  if ($must_show_list)
    260260  {
    261     $query = 'SELECT DISTINCT(id)';
     261    $query = 'SELECT id';
    262262    $query .= $calendar->inner_sql.'
    263263  '.$calendar->get_date_where();
     
    285285  '.$order_by;
    286286    }
    287     $page['items']              = array_from_query($query, 'id');
     287    $page['items'] = array_from_query($query, 'id');
    288288  }
    289289  pwg_debug('end initialize_calendar');
    290290}
    291 
    292291?>
Note: See TracChangeset for help on using the changeset viewer.