Commit 5384ed02 authored by tbrehm's avatar tbrehm
Browse files

Fixed a problem with client templates in the remoting functions.

parent ccc7e75d
...@@ -1925,7 +1925,7 @@ class remoting { ...@@ -1925,7 +1925,7 @@ class remoting {
$app->remoting_lib->loadUserProfile($reseller_id); $app->remoting_lib->loadUserProfile($reseller_id);
//* load the client template //* load the client template
if(isset($params['template_master']) and $params['template_master']) if(isset($params['template_master']) and $params['template_master'] > 0)
{ {
$template=$app->db->queryOneRecord("SELECT * FROM client_template WHERE template_id=".intval($params['template_master'])); $template=$app->db->queryOneRecord("SELECT * FROM client_template WHERE template_id=".intval($params['template_master']));
$params=array_merge($params,$template); $params=array_merge($params,$template);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment