@@ -17,7 +17,7 @@ class BannerController extends AuthController {
$query = $this->queryInicial;
- if($id > 0) {
+ if($id !== "") {
$query->andWhere(["id" => $id]);
}
@@ -17,7 +17,7 @@ class CampanaController extends AuthController {
- if ($id > 0) {
+ if ($id !== "") {