From 4b1f528ff37cf8ae43685b4d3cb2759ae1645770 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 5 Aug 2008 16:15:09 +0000 Subject: 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 --- engine/lib/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3