Minor fixes to statement, services and internal things
Many misc updates
This commit is contained in:
@@ -43,8 +43,8 @@ class Controller_Tree extends Controller_lnApp_Tree {
|
||||
|
||||
} else {
|
||||
$idx = NULL;
|
||||
if (preg_match('/:/',$id))
|
||||
list($id,$idx) = explode(':',$id,2);
|
||||
if (preg_match('/_/',$id))
|
||||
list($id,$idx) = explode('_',$id,2);
|
||||
|
||||
$mo = ORM::factory('module',$id);
|
||||
|
||||
@@ -106,7 +106,7 @@ class Controller_Tree extends Controller_lnApp_Tree {
|
||||
|
||||
else
|
||||
foreach ($subdata as $t=>$x)
|
||||
array_push($data,array('id'=>$mmo->module_id.':'.$t,'name'=>$t,'state'=>'closed'));
|
||||
array_push($data,array('id'=>$mmo->module_id.'_'.$t,'name'=>$t,'state'=>'closed'));
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user