From 0aedf080554947352daddce0829c9a5c7b41e0e7 Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Thu, 2 Apr 2020 19:25:26 -0400 Subject: [PATCH] Update call_flows.php --- app/call_flows/resources/classes/call_flows.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/call_flows/resources/classes/call_flows.php b/app/call_flows/resources/classes/call_flows.php index d6460cd98e..10320a3e07 100644 --- a/app/call_flows/resources/classes/call_flows.php +++ b/app/call_flows/resources/classes/call_flows.php @@ -28,6 +28,11 @@ if (!class_exists('call_flows')) { class call_flows { + /** + * declare public variables + */ + public $toggle_field; + /** * declare private variables */ @@ -37,7 +42,6 @@ if (!class_exists('call_flows')) { private $list_page; private $table; private $uuid_prefix; - private $toggle_field; private $toggle_values; /** @@ -52,7 +56,6 @@ if (!class_exists('call_flows')) { $this->list_page = 'call_flows.php'; $this->table = 'call_flows'; $this->uuid_prefix = 'call_flow_'; - $this->toggle_field = 'call_flow_status'; $this->toggle_values = ['true','false']; } @@ -171,7 +174,6 @@ if (!class_exists('call_flows')) { */ public function toggle($records) { if (permission_exists($this->permission_prefix.'edit')) { - //add multi-lingual support $language = new text; $text = $language->get(); @@ -385,4 +387,4 @@ if (!class_exists('call_flows')) { } //class } -?> \ No newline at end of file +?>