* Fix bug #50035.
This commit is contained in:
@@ -617,7 +617,7 @@ class searchModel extends model
|
||||
if(!is_numeric($key) || empty($value) || strlen($key) != 5 || $key < 0 || $key > 65535) continue;
|
||||
if(isset($savedDict[$key])) continue;
|
||||
|
||||
$this->dao->insert(TABLE_SEARCHDICT)->data(array('key' => $key, 'value' => $value))->exec();
|
||||
$this->dao->replace(TABLE_SEARCHDICT)->data(array('key' => $key, 'value' => $value))->exec();
|
||||
$savedDict[$key] = $key;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user