Changed static to self calls

This commit is contained in:
Deon George
2013-12-26 21:39:49 +11:00
parent a7fcddc48c
commit a23a19b581
9 changed files with 37 additions and 27 deletions

View File

@@ -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