Minor fixes to statement, services and internal things

Many misc updates
This commit is contained in:
Deon George
2011-10-14 16:44:12 +11:00
parent 7876a16413
commit 56c11507f4
71 changed files with 2192 additions and 677 deletions

View File

@@ -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'));
}
}