uses the codeigniter querybuilder to construct the active ampeln query

This commit is contained in:
SimonGschnell
2024-08-07 15:43:20 +02:00
parent 3f86961bda
commit ba2c450bd2
2 changed files with 57 additions and 19 deletions
@@ -75,7 +75,7 @@ class Ampeln extends FHCAPI_Controller
$userAmpeln = array();
// fetch active ampeln
$activeAmpeln = $this->AmpelModel->active(false, $this->uid);
$activeAmpeln = $this->AmpelModel->openActive($this->uid, false);
$activeAmpeln = $this->getDataOrTerminateWithError($activeAmpeln);