Changed static to self calls
This commit is contained in:
@@ -50,8 +50,8 @@ class lnApp_Block_Sub extends HTMLRender {
|
||||
|
||||
$i = 0;
|
||||
$x = $y = 0;
|
||||
Sort::MAsort(static::$_data,'order,position,title,subtitle');
|
||||
foreach (static::$_data as $value) {
|
||||
Sort::MAsort(self::$_data,'order,position,title,subtitle');
|
||||
foreach (self::$_data as $value) {
|
||||
$i = (! isset($value['order'])) ? $i+1 : $value['order'];
|
||||
|
||||
// Work out our dimentions
|
||||
|
Reference in New Issue
Block a user