Fixed to not work on a bad key.
This commit is contained in:
parent
e31f10e648
commit
7cedd4af7a
@ -631,7 +631,12 @@ class IDF_Plugin_SyncMonotone
|
||||
*/
|
||||
public function processKeyDelete($key)
|
||||
{
|
||||
if ($key->getType() != 'mtn') {
|
||||
try {
|
||||
if ($key->getType() != 'mtn') {
|
||||
return;
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
// bad key type, skip it.
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user