Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

Changing parent plant

  • galanopd
  • galanopd
  • OFFLINE
  • Posts: 376
  • Thanks: 49
  • Karma: 8
3 years 2 weeks ago - 3 years 2 weeks ago #329916 by galanopd
Replied by galanopd on topic Changing parent plant

Note your above PHP was not correct. I've corrected it for you.

Your help is always much appreciated.

I had already changed it to abstract (==) but your suggestion to strict (===) seems to be more correct.

Thank you

EDIT: Actually that saved my life!
Code:
return -( ( $licenses - 1 ) * 100 ); // Increase price by 100% per additional license

Thanks again!
Last edit: 3 years 2 weeks ago by galanopd.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum