From 133c9aab17662ae9f885fb76ccdfe813c147e6c0 Mon Sep 17 00:00:00 2001 From: Chris French Date: Sat, 29 Aug 2015 16:04:32 -0500 Subject: [PATCH] using tags --- composer.json | 4 ++-- src/Blog/Admin/Views/categories/checkboxes.php | 2 +- src/Blog/Admin/Views/posts/list.php | 2 +- src/Blog/Models/Posts.php | 2 +- src/Blog/Modules/Categories/Views/default.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) 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 );