Commit ef6c4475 authored by Shakarim Sapa's avatar Shakarim Sapa

- FIX

parent 8266128b
...@@ -110,7 +110,7 @@ class Conditions { ...@@ -110,7 +110,7 @@ class Conditions {
*/ */
public static function getControlButtons($condition_array=array(), $key=null){ public static function getControlButtons($condition_array=array(), $key=null){
$key = ($key!==null) ? $key : rand(100000,999999); $key = ($key!==null) ? $key : rand(100000,999999);
return '<tr data-key='.$key.'><td>'.Conditions::init()->getControlArea($condition_array, $key).'</td></tr>'; return '<tr data-key='.$key.'><td>'.Conditions::init()->getControlArea().'</td></tr>';
} }
/** /**
...@@ -119,7 +119,6 @@ class Conditions { ...@@ -119,7 +119,6 @@ class Conditions {
* @return string * @return string
*/ */
public function getControlArea($condition_array=array(), $key=null){ public function getControlArea($condition_array=array(), $key=null){
return 'asd';
$html = '<div class="conditions-block">'; $html = '<div class="conditions-block">';
if (count($condition_array)>0) { if (count($condition_array)>0) {
foreach($condition_array as $condition) { foreach($condition_array as $condition) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment