Fixed Showing Orders of users of same company
This commit is contained in:
@@ -44,10 +44,15 @@ class PreorderController extends mfBaseController {
|
||||
$this->layout()->set("networks", $this->me->my_networks);
|
||||
}
|
||||
|
||||
$this->layout()->set("types", BuildingtypeModel::getAll());
|
||||
$this->layout()->set("statuses", BuildingstatusModel::getAll());
|
||||
if(!$this->request->preordercampaign_id) {
|
||||
$this->layout()->setFlash("Keine Kampagne ausgewählt!", "warn");
|
||||
}
|
||||
|
||||
$campaign_id = $this->request->preordercampaign_id;
|
||||
$campaign = new Preordercampaign($campaign_id);
|
||||
$this->layout()->set("campaign", $campaign);
|
||||
|
||||
|
||||
$this->layout()->set("networksections", NetworksectionModel::getAll());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user