Elxis CMS Forum

Ελληνικό Forum => Πρόσθετα => Topic started by: akisp on July 22, 2012, 02:05:50

Title: Easy Gallery Bot (missing code line!)
Post by: akisp on July 22, 2012, 02:05:50
Sorry for posting here instead of contacting with the author(Ioannis Sannos - Is Open Source).

File easygallery.php

At line 316:
Code: [Select]
\$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: [Select]
$database->setQuery($query, '#__', 1, 0);
just before:
$hotel = $database->loadRow();
Title: Re: Easy Gallery Bot (missing code line!)
Post by: datahell on July 22, 2012, 15: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.