laatste dingen
This commit is contained in:
@@ -203,10 +203,11 @@ class Organisaties extends MY_Controller{
|
||||
if ($this->Autorisaties_model->check_autorisatie($this->userrole, SUPERUSER) > 0) {
|
||||
$orgid =$this->input->post("id");
|
||||
$errortekst = '';
|
||||
$soort = $this->input->post("soort");
|
||||
|
||||
if($this->input->post("soort")== "1") $actief = 1;
|
||||
if($soort == 1) $actief = 1;
|
||||
else{ $valtonderID = $this->input->post("valtonderID");
|
||||
$actief = $this->Organisaties_model->get_fieldvalue(["valtonder_id" => $valtonderID], 'actief');
|
||||
$actief = $this->Organisaties_model->get_fieldvalue(["id" => $valtonderID], 'actief');
|
||||
if($actief == 0) $errortekst .= "Activeer eerst de gearchiveerd organisatie(s) boven deze organisatie.";
|
||||
else $actief = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user