Skip to content
Browse files

fixed error when updating block

when the user tried to update a block which had no content (customization) e.g. User login block, the block would not update
  • Loading branch information...
1 parent 036c28f commit 4d019e88343d0e7777adfc40a75324c107c2dd9f @tfotis tfotis committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/system/Blocks/lib/Blocks/Controller/Admin.php
View
2 src/system/Blocks/lib/Blocks/Controller/Admin.php
@@ -329,7 +329,7 @@ public function update()
$language = FormUtil::getPassedValue('language');
$collapsable = FormUtil::getPassedValue('collapsable', 0);
$defaultstate = FormUtil::getPassedValue('defaultstate', 1);
- $content = FormUtil::getPassedValue('content');
+ $content = FormUtil::getPassedValue('content', '');
$refresh = FormUtil::getPassedValue('refresh');
$positions = FormUtil::getPassedValue('positions');
$filter = FormUtil::getPassedValue('filters', array());

3 comments on commit 4d019e8

@Portugao

So the issue

#437

is fixed?

@tfotis
Zikula Project member
tfotis commented on 4d019e8 Aug 2, 2012

yes it's fixed.
thanks for noticing... i updated the issue

@Portugao

Very fine.

Thanks a lot.

Please sign in to comment.
Something went wrong with that request. Please try again.