diff --git a/composer.json b/composer.json index 01121e7..f5ae9a0 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ ], "require": { "php": ">=5.4.0", - "dioscouri/f3-lib": "dev-master", - "dioscouri/f3-admin": "dev-master" + "dioscouri/f3-lib": ">=v0.8", + "dioscouri/f3-admin": ">=v0.8" }, "autoload": { "psr-0": { diff --git a/src/Blog/Admin/Views/categories/checkboxes.php b/src/Blog/Admin/Views/categories/checkboxes.php index 53fb58e..713325e 100644 --- a/src/Blog/Admin/Views/categories/checkboxes.php +++ b/src/Blog/Admin/Views/categories/checkboxes.php @@ -1,7 +1,7 @@
- old('categories'), 'id' ); ?> + old('categories'), 'id' ); ?>
- categories, 'title' ); ?> + categories, 'title' ); ?> ", (array) $categories ); ?>
diff --git a/src/Blog/Models/Posts.php b/src/Blog/Models/Posts.php index df6499c..2d67e1d 100644 --- a/src/Blog/Models/Posts.php +++ b/src/Blog/Models/Posts.php @@ -189,7 +189,7 @@ public function getRelatedPosts($limit = 12) $categories = array(); if (!empty($this->{'categories'})) { - $categories = \Joomla\Utilities\ArrayHelper::getColumn((array) $this->{'categories'}, 'id'); + $categories = \DscArrayHelper::getColumn((array) $this->{'categories'}, 'id'); } if (!empty($categories)) diff --git a/src/Blog/Modules/Categories/Views/default.php b/src/Blog/Modules/Categories/Views/default.php index baf566f..2a9cbf4 100644 --- a/src/Blog/Modules/Categories/Views/default.php +++ b/src/Blog/Modules/Categories/Views/default.php @@ -31,7 +31,7 @@ nodes ); $c_n = count( $tree->nodes );