diff --git a/interface/lib/classes/remoting_lib.inc.php b/interface/lib/classes/remoting_lib.inc.php
index ec04254dd3b589fc7b2b93d1da01d5187517e013..62ccd506c889002cc99066e8f68ed7998d93528c 100644
--- a/interface/lib/classes/remoting_lib.inc.php
+++ b/interface/lib/classes/remoting_lib.inc.php
@@ -225,7 +225,7 @@ class remoting_lib extends tform_base {
 		return $sql;
 	}
 
-       function getDataRecord($primary_id, $client_id) {
+       function getDataRecord($primary_id, $client_id = 0) {
 		global $app;
 		$escape = '`';
                $this->loadUserProfile($client_id);