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

Diff for Metafox/subst.inc.php between version 1.38 and 1.39

version 1.38, 2007/12/31 13:45:40 version 1.39, 2008/04/10 10:08:53
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/subst.inc.php,v 1.37 2007-12-16 06:09:48 nepto Exp $ */  /* $Platon: Metafox/subst.inc.php,v 1.38 2007-12-31 13:45:40 nepto Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'error.inc.php';  require_once 'error.inc.php';
Line 143  if ($ezin_cgi['author_id'] > 0 || $ezin_
Line 143  if ($ezin_cgi['author_id'] > 0 || $ezin_
         $name = $ezin_db_author['author_name'];          $name = $ezin_db_author['author_name'];
         $ezin_db_author['search'] = $ezin_db_author['author_id'];          $ezin_db_author['search'] = $ezin_db_author['author_id'];
         if (strlen($name) > 0) {          if (strlen($name) > 0) {
                 if (preg_match('|^(\S*)\s*(\S*)|', $name, $matches)) {                  if (preg_match('|^(\S*)\s*(.*)|', $name, $matches)) {
                         $ezin_db_author['search'] = $matches[2];                          $ezin_db_author['search'] = $matches[2];
                 } else if (preg_match('|^(\S*),\s*(\S*)|', $name)) {                  } else if (preg_match('|^(\S*),\s*(\S*)|', $name)) {
                         $ezin_db_author['search'] = $matches[1];                          $ezin_db_author['search'] = $matches[1];

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

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