summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1335be6)
raw | patch | inline | side by side (parent: 1335be6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Sep 2005 08:42:11 +0000 (08:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Sep 2005 08:42:11 +0000 (08:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1358 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history |
diff --git a/plugins/gofon/conference/class_phoneConferenceGeneric.inc b/plugins/gofon/conference/class_phoneConferenceGeneric.inc
index 6d306b32b5fc92879dfb7d027165e6d8bbd9be02..783649b22c41b88f0953bf27c8d0658445715f22 100644 (file)
function SQL_add_me($save){
+
+ if(!isset($_SESSION['config']->data['SERVERS']['FON'])){
+ $this->generate_error = _("There is currently no asterisk server defined. Possibly you are missing a server that handles the asterisk management (goFonServer). \n Your Settings can't be saved to asterisk Database. ");
+ return(false);
+ }
+
// Get Configuration for Mysql database Server
$a_SETUP = $_SESSION['config']->data['SERVERS']['FON'];