From 8fdac486e585dab5c7d6832a23d272005e706f38 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 21 Nov 2005 05:27:23 +0000 Subject: [PATCH] Fixed undefined r_con git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1986 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/phoneaccount/class_phoneAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ; } } -- 2.30.2