Skip to content

Commit 5384ed0

Browse files
committed
Fixed a problem with client templates in the remoting functions.
1 parent ccc7e75 commit 5384ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/remoting.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,7 @@ private function klientadd($formdef_file, $reseller_id, $params)
19251925
$app->remoting_lib->loadUserProfile($reseller_id);
19261926

19271927
//* load the client template
1928-
if(isset($params['template_master']) and $params['template_master'])
1928+
if(isset($params['template_master']) and $params['template_master'] > 0)
19291929
{
19301930
$template=$app->db->queryOneRecord("SELECT * FROM client_template WHERE template_id=".intval($params['template_master']));
19311931
$params=array_merge($params,$template);

0 commit comments

Comments
 (0)