Elxis CMS Forum

Extensions => Components => Topic started by: peppemania on January 28, 2014, 13:24:54

Title: error Hoteliers control panel
Post by: peppemania on January 28, 2014, 13:24:54
when i try to edit price of rooms from Hoteliers control panel.
all files are updated to the latest version
Code: [Select]
ERROR in file /home/carhp031/public_html/components/com_reservations/ext/hotels/controllers/hotelier.php line 1537
Call to undefined method hotelierIOSRM::getRoomPrices()
but the save is successful equally.
is only my problem?  :'(
Title: Re: error Hoteliers control panel
Post by: datahell on January 28, 2014, 14:27:36
Oooooops! You found a bug!

Please do the following:
Open file: components/com_reservations/ext/hotels/controllers/hoteliers.php
Go to line 1537.
This this:
$prows = $this->model->getRoomPrices($data->rid);
to this:
$prows = $this->amodel->getRoomPrices($data->rid);

Save the file and the problem will be solved.
Title: Re: error Hoteliers control panel
Post by: peppemania on January 28, 2014, 17:02:34
solved
thanks  :D
Title: Re: error Hoteliers control panel
Post by: datahell on January 28, 2014, 20:11:14
It is a mistype error... When I develop things I write fast and some times I make such errors, sorry.

Important notice
File hotelier.php is a protected internal file. If you modify it your site wont be able to connect to IOS RC to retrieve updates. Send me an e-mail (containing your activation keys) to send you the official update patch. When you apply the official patches you don't have license related issues.