Commit d56f1ff5 authored by Robert Lyon's avatar Robert Lyon
Browse files

Stopping a block from being 'eaten' when changing layout (Bug #1432635)



To test see bug report

Change-Id: I88069adce01c77a1009ac49bf61966524532ca44
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 1b184140
......@@ -2470,7 +2470,7 @@ class View {
$currentcol = 1;
}
if ($currentcol == $values['column']) {
$currentcol++; // don't redistrubute blocks here!
// don't redistrubute blocks here!
}
if (!array_key_exists($currentcol, $prevrowcolumnmax)) {
$prevrowcolumnmax[$currentcol] = $this->get_current_max_order($values['row']-1, $currentcol);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment