| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 1.0.9 Free | |
| 4 | + * @version 2.0.12 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <info@fireplugins.com> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | - * @copyright Copyright © 2021 FirePlugins All Rights Reserved | |
| 8 | + * @copyright Copyright © 2023 FirePlugins All Rights Reserved | |
| 9 | 9 | * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace FireBox\Core; |
| @@ -59,8 +59,9 @@ | ||
| 59 | 59 | */ |
| 60 | 60 | public function get_boxes() |
| 61 | 61 | { |
| 62 | 62 | $boxes = \FireBox\Core\Helpers\BoxHelper::getAllBoxes(); |
| 63 | + $boxes = $boxes->posts; | |
| 63 | 64 | |
| 64 | 65 | if (!count($boxes)) |
| 65 | 66 | { |
| 66 | 67 | return []; |