Diff for Metafox/db.inc.php between version 1.36 and 1.37
| version 1.36, 2007/02/24 23:43:49 |
version 1.37, 2007/02/24 23:48:52 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/db.inc.php,v 1.35 2007-02-24 21:47:21 nepto Exp $ */ |
/* $Platon: Metafox/db.inc.php,v 1.36 2007-02-24 23:43:49 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 628 function ezin_save_author($data) /* {{{ |
|
| Line 628 function ezin_save_author($data) /* {{{ |
|
| @mysql_free_result($result); |
@mysql_free_result($result); |
| $exists = intval($row[0]); |
$exists = intval($row[0]); |
| |
|
| if ($exists) { /* {{{ */ |
if ($exists) { |
| return ezin_update_author($data); |
return ezin_update_author($data); |
| } /* }}} */ |
} else if ($ezin_cfg['user_create_role_id'] > 0) { |
| else if ($ezin_cfg['user_create_role_id'] > 0) { /* {{{ */ |
|
| return ezin_insert_author($data); |
return ezin_insert_author($data); |
| } /* }}} */ |
} |
| |
|
| return false; |
return false; |
| } /* }}} */ |
} /* }}} */ |
Platon Group <platon@platon.org> http://platon.org/
|
|