|
|
@@ -203,7 +203,7 @@ class ProductProvider extends BaseDataProvider implements AdminArea
|
|
|
}
|
|
|
//tag
|
|
|
$this->availableValues["customconfigoption[tags][]"];
|
|
|
- foreach (IpAddress::select("tag")->whereNotNull("tag")->where("tag", ">", o)->groupBy("tag")->pluck("tag")->all() as $tag) {
|
|
|
+ foreach (IpAddress::select("tag")->whereNotNull("tag")->where("tag", ">", 0)->groupBy("tag")->pluck("tag")->all() as $tag) {
|
|
|
$this->availableValues["customconfigoption[tags][]"][$tag] = $tag;
|
|
|
}
|
|
|
//pool
|
|
|
@@ -350,7 +350,7 @@ class ProductProvider extends BaseDataProvider implements AdminArea
|
|
|
foreach ($clusterResourcesRepository->fetch() as $resurce) {
|
|
|
if (preg_match('/^custom[0-9]*/', $resurce->getName())) {
|
|
|
continue;
|
|
|
- }
|
|
|
+ }$element
|
|
|
$this->availableValues["customconfigoption[permissionOsTemplates][]"][$resurce->getName()] = $lang->abtr('template', $resurce->getName());
|
|
|
}
|
|
|
//osTemplate
|