- removed function get_extra_fields and its usage (unnecessary + perf issue when retrieving many image ids in a section)

- 2 fixes recent feed.php commit
  * month names were decalated by one
  * strptime function is not implemented under Windows in php
- added somme missing $ROOT_URL in templates

git-svn-id: http://piwigo.org/svn/trunk@6668 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2010-07-06 20:10:03 +00:00
parent 804d79a625
commit 4748adc3f5
9 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ WHERE id IN (' . implode(',',$page['items']) .')';
if ($must_show_list)
{
$query = 'SELECT DISTINCT id '.get_extra_fields($conf['order_by']);
$query = 'SELECT DISTINCT id ';
$query .= ','.$calendar->date_field;
$query .= $calendar->inner_sql.'
'.$calendar->get_date_where();