Fixed static call, enabled site ID to be formated
This commit is contained in:
@@ -23,7 +23,7 @@ abstract class lnApp_StaticList_YesNo extends StaticList {
|
||||
|
||||
return $format ? View::factory(Site::Theme().'/label/bool')
|
||||
->set('label',$value ? 'label-success' : '')
|
||||
->set('column',self::factory()->_get($value)) : $value;
|
||||
->set('column',StaticList_YesNo::factory()->_get($value)) : $value;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user