1064 You have an error in your SQL syntax;

  • Posts: 45
  • Thank you received: 0
8 years 3 months ago #262894

Hello, Hika Team!
After applying filters the error 1064 occurred.


Help me, please)
P.s. Sorry for my English)

Attachments:

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

  • Posts: 83992
  • Thank you received: 13604
  • MODERATOR
8 years 3 months ago #262896

Hi,

Change the code:

if($key==$selectedUnit){ $val=1; }
else{ $val=$unit[$selectedUnit]; }
to:
if($key == $selectedUnit)
				$val = 1;
			elseif(!empty($unit[$selectedUnit]))
				$val = $unit[$selectedUnit];
			else
				$val = 1;
in the file administrator/components/com_hikashop/classes/filter.php and that should fix the problem.

The following user(s) said Thank You: sasha_klimenchuk

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

Time to create page: 0.075 seconds
Powered by Kunena Forum