Diff for Metafox/db.inc.php between version 1.56 and 1.57
| version 1.56, 2010/11/02 17:32:26 |
version 1.57, 2010/11/19 15:29:39 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/db.inc.php,v 1.55 2010-10-15 14:09:15 igor Exp $ */ |
/* $Platon: Metafox/db.inc.php,v 1.56 2010-11-02 17:32:26 igor Exp $ */ |
| |
|
| /* |
/* |
| * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002 |
* updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002 |
| Line 494 function ezin_get_article_list($section_ |
|
| Line 494 function ezin_get_article_list($section_ |
|
| $query .= ' AND (lang IS NULL OR lang = ""' |
$query .= ' AND (lang IS NULL OR lang = ""' |
| .' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
.' OR lang LIKE "'.ezin_db_escape($lang).'")'; |
| } |
} |
| if (strlen($author_id) > 0) { |
if (strlen($author_id) > 0 |
| |
&& intval($author_id) > 0) |
| |
{ |
| $limit = 0; // unlimited articles on author pages |
$limit = 0; // unlimited articles on author pages |
| if (is_numeric($author_id)) { |
if (is_numeric($author_id)) { |
| if (intval($author_id) > 0) { |
if (intval($author_id) > 0) { |
Platon Group <platon@platon.org> http://platon.org/
|
|