Skip to main content

Query About Code (in address/listing.php)

More
11 years 8 months ago #188292 by Ed_Hika
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6

Hello, there.

Good evening!

Please could you explain the significance of the following section of code in address/listing.php?
Code:
if(false) { $this->setLayout('select'); echo $this->loadTemplate(); }

What is being tested for true/false (as in the "if(false)")?

Thanks.

Take care!

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

More
11 years 8 months ago #188316 by Xavier
Hi,

The "if(false)" means that we must never go in this if condition and always in the else.
It has been added and it is waiting for a future feature, so it can be ignored for the moment ;)
The following user(s) said Thank You: Ed_Hika

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

Time to create page: 0.132 seconds
Powered by Kunena Forum