summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b807b6f)
raw | patch | inline | side by side (parent: b807b6f)
author | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Sep 2010 13:55:47 +0000 (13:55 +0000) | ||
committer | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Sep 2010 13:55:47 +0000 (13:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19606 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/class_groupware.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/class_groupware.inc b/gosa-plugins/groupware/personal/groupware/class_groupware.inc
index dc275340db82ad20ac9d0279da75eb8fb38a4db4..181eb949447b90da59370dfe777486b947c8a0a7 100644 (file)
echo "------<br>Calling function:".$function."<br>";
$rpc = $this->config->getRpcHandle();
+ echo get_class($rpc);
$res = call_user_func_array(array($rpc,$function),array_values($params));
$this->rpcError = !$rpc->success();
if($this->rpcError){
- $this->rpcErrorMessage = $rpc->getError();
+ $this->rpcErrorMessage = $rpc->get_error();
return(NULL);
}
return($res);
* Trying to save the primary Email Address.
*/
if(!empty($this->mailAddress)){
- $this->groupwareDao->save("primaryMail", $this->mailAddress);
+ $this->groupwareDao->save("primaryMail", array($this->uid, $this->mailAddress));
}
- if(!empty($this->mailAddress)){
- $this->groupwareDao->save("primaryMail", $this->mailAddress);
- }
-
+
}