summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc34eda)
raw | patch | inline | side by side (parent: fc34eda)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 06:25:37 +0000 (06:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 06:25:37 +0000 (06:25 +0000) |
plugins/gofon/phoneaccount/class_phoneAccount.inc | patch | blob | history |
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index 1dc4a8d2566f4befe20379f8e980e5337f26c421..0181f5763374ae5749cebbdb67a6e85064af5a59 100644 (file)
function remove_from_parent()
{
+ /* unset macro attr, it will cause an error */
+ $tmp = array_flip($this->attributes);
+ unset($tmp['macro']);
+ $this->attributes=array_flip($tmp);
+
/* Cancel if there's nothing to do here */
if (!$this->initially_was_account){
return;