diff --git a/pkg/vtiger/modules/PBXManager/modules/PBXManager/PBXManager.php b/pkg/vtiger/modules/PBXManager/modules/PBXManager/PBXManager.php index 4a9262e4a4eef7a43cd71b85c4564657753c480a..b7bfa4f2574b01b285f71dfb3515383470e8789e 100644 --- a/pkg/vtiger/modules/PBXManager/modules/PBXManager/PBXManager.php +++ b/pkg/vtiger/modules/PBXManager/modules/PBXManager/PBXManager.php @@ -74,10 +74,13 @@ class PBXManager extends CRMEntity { var $default_order_by = 'customernumber'; var $default_sort_order = 'ASC'; - function PBXManager(){ + function __construct() { $this->db = PearDatabase::getInstance(); $this->column_fields = getColumnFields('PBXManager'); } + function PBXManager(){ + self::__construct(); + } /** * Invoked when special actions are performed on the module.