Skip to content

Commit

Permalink
Fix package images
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed May 24, 2020
1 parent 69792ca commit 0309b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/modules/Tebex/pages/store/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
$content = $emojione->unicodeToImage($content);
$content = Output::getPurified($content);

$image = (isset($package->image) && !is_null($package->image) ? (defined('CONFIG_PATH') ? CONFIG_PATH . '/' : '/' . 'uploads/store/' . Output::getClean(Output::getDecoded($package->image))) : null);
$image = (isset($package->image) && !is_null($package->image) ? (defined('CONFIG_PATH') ? CONFIG_PATH . '/' : '/') . 'uploads/store/' . Output::getClean(Output::getDecoded($package->image)) : null);

$category_packages[] = array(
'id' => Output::getClean($package->id),
Expand Down

0 comments on commit 0309b64

Please sign in to comment.