Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: IOS Reservations online hotel booking system for Elxis CMS.
 
Pages: [1]
  Print  
Author Topic: Easy Gallery Bot (missing code line!)  (Read 1241 times)
akisp
Newbie
*
Offline Offline

Posts: 28


WWW
« on: July 22, 2012, 01:05:50 »

Sorry for posting here instead of contacting with the author(Ioannis Sannos - Is Open Source).

File easygallery.php

At line 316:
Code:
\$query = "SELECT h.hid, h.title, h.lid, h.seotitle AS seohot, l.seotitle AS seoloc FROM #__res_hotels h"
\."\n LEFT JOIN #__res_locations l ON l.lid=h.lid"
."\n WHERE h.hid='".$elid."' AND h.published = '1'";
$hotel = $database->loadRow();

Add line:
Code:
$database->setQuery($query, '#__', 1, 0);
just before:
$hotel = $database->loadRow();
Logged
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 7588



WWW
« Reply #1 on: July 22, 2012, 14:10:46 »

I can not check right now but if this line is missing you must add it. Thanks for your report,  I will check it and fix it soon.
Logged

Pages: [1]
  Print  
 
Jump to: