mindstellar / Osclass

With Osclass, get your own classifieds site for free. Build your own Osclass installation and start advertising real estate, jobs or whatever you want- in minutes!
https://docs.mindstellar.com/
GNU General Public License v3.0
88 stars 49 forks source link

Error in semantic url in premium display #491

Closed maxdual closed 6 months ago

maxdual commented 1 year ago

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.

navjottomer commented 1 year ago

No issue in my develop branch