Skip to Content Skip to Menu

Changing parent plant

  • galanopd
  • galanopd
  • OFFLINE
  • Posts: 374
  • Thanks: 49
  • Karma: 8
2 years 4 months ago - 2 years 4 months 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: 2 years 4 months 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