Added Statusflags in AddressDB

This commit is contained in:
Frank Schubert
2024-08-14 16:15:11 +02:00
parent 4f1964b694
commit 7531d700c0
14 changed files with 838 additions and 19 deletions
+7 -3
View File
@@ -953,9 +953,13 @@ class PreorderController extends mfBaseController {
}
$flagvalue->value = ($value) ? 1 : 0;
if(!$flagvalue->save()) {
return false;
//var_dump($flagvalue);exit;
try {
if(!$flagvalue->save()) {
return false;
}
} catch(Exception $e) {
$this->log->debug($e->getTraceAsString());
}
return ["message" => "Statusflag saved successfully"];