From: hickert Date: Mon, 21 Nov 2005 05:27:23 +0000 (+0000) Subject: Fixed undefined r_con X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8fdac486e585dab5c7d6832a23d272005e706f38;p=gosa.git Fixed undefined r_con git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1986 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index 24cd331d3..ab1a47101 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -236,7 +236,7 @@ class phoneAccount extends plugin } $this->lastmacro=$this->macro; - if(is_callable("mysql_close")&&($r_con)){ + if(is_callable("mysql_close")&&(isset($r_con))&&($r_con)){ @mysql_close($r_con) ; } }