diff --git a/Makefile b/Makefile index 8a3613d91575f66325a6f0bd7c8771cef98508db..1df5e2650e99c65d74cab11ad15a586f0ccc49d5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BASE=versioncompat PLUGINTYPE=vmcustom -VERSION=0.2 +VERSION=0.3 PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html $(BASE)/ diff --git a/releases/plg_vmcustom_versioncompat_v0.3.zip b/releases/plg_vmcustom_versioncompat_v0.3.zip new file mode 100644 index 0000000000000000000000000000000000000000..2b3a54f81970c8d47cb0735e5315b231b4a5b4ec Binary files /dev/null and b/releases/plg_vmcustom_versioncompat_v0.3.zip differ diff --git a/versioncompat.php b/versioncompat.php index c26cf0cc7c8e89a0fc0470d19f6f153b7145f3ff..528cb3cfec505c6a10ab2284736b5273d7e1eff9 100644 --- a/versioncompat.php +++ b/versioncompat.php @@ -43,7 +43,8 @@ class plgVmCustomVersionCompat extends vmCustomPlugin { if (!JFolder::exists($path)) $path = JPATH_ROOT . DS . $path; - if (!JFolder::exists($path)) continue; + if (!JFolder::exists($path)) + return; $images = JFolder::files($path, '.png'); return $images; } diff --git a/versioncompat.xml b/versioncompat.xml index 5c93f4d9ce4917051217f701f704831bdbf4d17f..0b3d254238dece38f99a45478de5e856988d73ce 100644 --- a/versioncompat.xml +++ b/versioncompat.xml @@ -6,7 +6,7 @@ <authorUrl>http://www.open-tools.net/</authorUrl> <creationDate>2014-12-16</creationDate> <copyright>2010 Daycounts.com, 2014 OpenTools.net</copyright> - <version>0.2</version> + <version>0.3</version> <description>Version compatibility custom field</description> <files> <filename plugin="versioncompat">versioncompat.php</filename>