Diff for scripts/php/sk-nic/SK-NIC.php between version 1.25 and 1.26
| version 1.25, 2023/12/23 22:04:13 |
version 1.26, 2024/01/02 07:44:55 |
|
|
| * 2023-12-23 - use constructor debug option on multiple places |
* 2023-12-23 - use constructor debug option on multiple places |
| */ |
*/ |
| |
|
| /* $Platon: scripts/php/sk-nic/SK-NIC.php,v 1.24 2023/12/19 15:35:42 nepto Exp $ */ |
/* $Platon: scripts/php/sk-nic/SK-NIC.php,v 1.25 2023/12/23 22:04:13 nepto Exp $ */ |
| |
|
| require_once 'DB.php'; |
require_once 'DB.php'; |
| |
|
|
|
| $this->_db->popExpect(); |
$this->_db->popExpect(); |
| if (DB::isError($result)) { |
if (DB::isError($result)) { |
| if ($result->getCode() == DB_ERROR_ALREADY_EXISTS) { |
if ($result->getCode() == DB_ERROR_ALREADY_EXISTS) { |
| printf("%s() WARNING: %s entry already exists\n", |
printf("%s() WARNING: %s entry already exists [%s:%s]\n", |
| __FUNCTION__, $this->table_history); |
__FUNCTION__, $this->table_history, |
| |
$this->primary_key, $rec['c_'.$this->primary_key]); |
| } else { |
} else { |
| $this->error($result); |
$this->error($result); |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|