diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-09 18:53:19 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-09 18:53:19 -0500 |
commit | 66953a2148bb7a19ac79c1a4ccda2852ee87501e (patch) | |
tree | 5fceb3772a744181c5311aa157afb1a8c34aa276 /engine/classes/ElggWidget.php | |
parent | c4b49227819624b14b61e6eedbfa6779cd794d45 (diff) | |
download | elgg-66953a2148bb7a19ac79c1a4ccda2852ee87501e.tar.gz elgg-66953a2148bb7a19ac79c1a4ccda2852ee87501e.tar.bz2 |
coding standard fixes to engine
Diffstat (limited to 'engine/classes/ElggWidget.php')
-rw-r--r-- | engine/classes/ElggWidget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggWidget.php b/engine/classes/ElggWidget.php index 70eaf8a73..e703b84cb 100644 --- a/engine/classes/ElggWidget.php +++ b/engine/classes/ElggWidget.php @@ -133,7 +133,7 @@ class ElggWidget extends ElggObject { if ($rank == 0) { // top of the column $this->order = $widgets[0]->order - 10; - } elseif ($rank == (count($widgets)-1)) { + } elseif ($rank == (count($widgets) - 1)) { // bottom of the column $this->order = end($widgets)->order + 10; } else { |