aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 16:15:09 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 16:15:09 +0000
commit4b1f528ff37cf8ae43685b4d3cb2759ae1645770 (patch)
tree288b56d2e24711daa456466ee757727dc5cfd3b2
parent2b0928138f9e03e7d1de2a15eff38ae9fb9aceb8 (diff)
downloadelgg-4b1f528ff37cf8ae43685b4d3cb2759ae1645770.tar.gz
elgg-4b1f528ff37cf8ae43685b4d3cb2759ae1645770.tar.bz2
Fixed an issue where the third widget column drops widgets.
git-svn-id: https://code.elgg.org/elgg/trunk@1715 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php
index 6bfa4c428..faaa1dfb2 100644
--- a/engine/lib/widgets.php
+++ b/engine/lib/widgets.php
@@ -385,7 +385,7 @@
if ($dbwidgets = get_widgets($owner,$context,$column)) {
foreach($dbwidgets as $dbwidget) {
- if (in_array($dbwidget->getGUID(),$guids[1]) || in_array($dbwidget->getGUID(),$guids[2])) {
+ if (in_array($dbwidget->getGUID(),$guids[1]) || in_array($dbwidget->getGUID(),$guids[2]) || in_array($dbwidget->getGUID(),$guids[3])) {
if (in_array($dbwidget->getGUID(),$guids[1])) {
$pos = array_search($dbwidget->getGUID(),$guids[1]);
$col = 1;