diff --git a/plugins/admin/ogroups/class_phonequeue.inc b/plugins/admin/ogroups/class_phonequeue.inc
index da087b6efd9235da7752b7020fdae7713624a92f..e5861b8a7a2932905ad8ecc6f0dcff3e28570226 100644 (file)
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Do we need to flip is_account state? */
if (isset($_POST['modify_state'])){
$this->is_account= !$this->is_account;
function check()
{
$message= array();
- #fixme workaround : Tab is not initialised correct
- if(!$this->is_account) return($message);
-
if($this->is_number_used()){
$message[] = $this->is_number_used();
}
$SQL = array();
if(!isset($_SESSION['config']->data['SERVERS']['FON'])){
- return(_("There is currently no asterisk server defined. Possibly you are missing a server that handles the asterisk management (goFonServer). Your settings can't be saved to asterisk database."));
- return(false);
+ return(_("There is currently no asterisk server defined. Your settings can't be saved."));
}
// Get Configuration for Mysql database Server