| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 3.1.8 Free | |
| 4 | + * @version 3.1.14 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <[email protected]> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | 8 | * @copyright Copyright © 2026 FirePlugins All Rights Reserved |
| @@ -79,10 +79,8 @@ | ||
| 79 | 79 | public function passAll() |
| 80 | 80 | { |
| 81 | 81 | $pass = true; |
| 82 | 82 | |
| 83 | - | |
| 84 | - | |
| 85 | 83 | foreach ($this->assignments as $key => $assignment) |
| 86 | 84 | { |
| 87 | 85 | // Break if not passed |
| 88 | 86 | if (!$pass) |
| @@ -100,20 +98,22 @@ | ||
| 100 | 98 | if (!method_exists($this, $method)) |
| 101 | 99 | { |
| 102 | 100 | continue; |
| 103 | 101 | } |
| 104 | - | |
| 102 | + | |
| 105 | 103 | $assign = 'assign_' . $assignment; |
| 106 | - | |
| 104 | + | |
| 107 | 105 | // Skip item if assignment is missing |
| 108 | 106 | if (!$this->box->params->exists($assign) && !$this->box->params->exists($assign . '_param_type')) |
| 109 | 107 | { |
| 110 | 108 | continue; |
| 111 | 109 | } |
| 112 | - | |
| 110 | + | |
| 113 | 111 | $pass = $this->$method(); |
| 114 | 112 | } |
| 113 | + | |
| 115 | 114 | |
| 115 | + | |
| 116 | 116 | return $pass; |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | /** |