Skip to content
Snippets Groups Projects
Commit 83017326 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V0.3: Fix PHP 7.0 (continue instead of return used)

parent 4eb7a49e
No related branches found
No related tags found
No related merge requests found
BASE=versioncompat
PLUGINTYPE=vmcustom
VERSION=0.2
VERSION=0.3
PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html $(BASE)/
......
File added
......@@ -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;
}
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment