mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Bugtracker #3921 - multi-language handling in DB
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/blogcalendar_menu/archive.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/blogcalendar_menu/archive.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:34:44 $
|
| $Date: 2007-05-13 13:59:25 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
| Based on code by: Thomas Bouve (crahan@gmx.net)
|
| Based on code by: Thomas Bouve (crahan@gmx.net)
|
||||||
*/
|
*/
|
||||||
@@ -61,7 +61,7 @@ if (strstr(e_QUERY, "year")) {
|
|||||||
// --------------------------------
|
// --------------------------------
|
||||||
// look for the first and last year
|
// look for the first and last year
|
||||||
// --------------------------------
|
// --------------------------------
|
||||||
$sql->db_Select_gen("SELECT news_id, news_datestamp from ".MPREFIX."news ORDER BY news_datestamp LIMIT 0,1");
|
$sql->db_Select_gen("SELECT news_id, news_datestamp from #news ORDER BY news_datestamp LIMIT 0,1");
|
||||||
$first_post = $sql->db_Fetch();
|
$first_post = $sql->db_Fetch();
|
||||||
$start_year = date("Y", $first_post['news_datestamp']);
|
$start_year = date("Y", $first_post['news_datestamp']);
|
||||||
$end_year = $cur_year;
|
$end_year = $cur_year;
|
||||||
|
Reference in New Issue
Block a user