Working on HOST SERVER and improvements to ORMOSB
This commit is contained in:
@@ -24,6 +24,10 @@ class lnApp_Block extends HTMLRender {
|
||||
* @param array Block attributes
|
||||
*/
|
||||
public static function add($block,$prepend=FALSE) {
|
||||
// Any body objects should be converted to a string, so that any calls to Style/Script are processed
|
||||
if (isset($block['body']))
|
||||
$block['body'] = (string)$block['body'];
|
||||
|
||||
parent::add($block);
|
||||
|
||||
// Detect any style sheets.
|
||||
|
Reference in New Issue
Block a user