Query About Code (in address/listing.php)

  • Posts: 109
  • Thank you received: 5
10 years 7 months ago #188292

-- 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?

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.

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #188316

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.063 seconds
Powered by Kunena Forum