We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 941cdb1 commit a5490b7Copy full SHA for a5490b7
components/com_jtg/models/track.php
@@ -326,7 +326,7 @@ function saveFile ()
326
$cfg = JtgHelper::getConfig();
327
$types = explode(',', $cfg->type);
328
329
- if (count($images) > 0)
+ if (!is_null($images) && count($images) > 0)
330
{
331
foreach ($images as $image)
332
0 commit comments