Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, November 12, 2026

Diff for Metafox/db.inc.php between version 1.30 and 1.31

version 1.30, 2006/09/20 15:02:07 version 1.31, 2006/10/01 14:34:32
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/db.inc.php,v 1.29 2006-09-13 14:48:12 nepto Exp $ */  /* $Platon: Metafox/db.inc.php,v 1.30 2006-09-20 15:02:07 nepto 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 410  function ezin_get_article_list($section_
Line 410  function ezin_get_article_list($section_
         }          }
         if (strlen($author_id) > 0) {          if (strlen($author_id) > 0) {
                 if (is_numeric($author_id)) {                  if (is_numeric($author_id)) {
                         $query .= ' AND authors.id = '.intval($author_id);                          if (intval($author_id) > 0) {
                                   $query .= ' AND authors.id = '.intval($author_id);
                           }
                 } else {                  } else {
                         $query .= ' AND authors.name LIKE "%'.addslashes($author_id).'%"';                          $query .= ' AND authors.name LIKE "%'.addslashes($author_id).'%"';
                 }                  }

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top