mindstellar/Osclass

Error in semantic url in premium display

Closed this issue · 1 comments

Error when using {ITEM CITY} IN PREMIUM URLS
I am creating a premium display with the following code.

 <?php  dms_get_premiums(4); ?>
<?php  if (dms_count_premiums() > 0) { ?>
<div>code display</div>
<?php }?>
<?php }?>

To Reproduce

Anomaly only plays on premium urls
http://domain.com/category/subcategory/{ITEM_CITY}/adds-example_i1

Expected behavior
non-premium url expected behavior

http://domain.com/category/subcategory/city/adds-example_i1

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

No issue in my develop branch