adjust check

This commit is contained in:
Mario Vavti
2023-04-12 13:21:26 +02:00
parent 432024123a
commit 9f7dbe16fd

View File

@@ -984,7 +984,7 @@ class Libzot {
Libzotdir::update_modtime($xchan_hash, $address);
}
if (!x($ret, 'message')) {
if (empty($ret['message'])) {
$ret['success'] = true;
$ret['hash'] = $xchan_hash;
}