Browse files

Fixed issue in Loop element

Hidden blocks were shown when EDIT mode was set to ON (e.g. via URL query) even if user had no edit permissions (no authentication)
  • Loading branch information...
Johannes Tiefenbrunner
Johannes Tiefenbrunner committed Apr 10, 2014
1 parent d61bbcb commit e61c612efdf671fd6277e587a5a4a9d3f6e7ae6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 webyep-system/programm/elements/WYLoopElement.php
@@ -111,7 +111,7 @@ function _aLoopIDs()
global $goApp;
if ($goApp->bEditMode) return $this->dContent[WY_DK_LOOPIDARRAY];
if ($goApp->bEditPermission) return $this->dContent[WY_DK_LOOPIDARRAY];
else {
$a = $this->dContent[WY_DK_LOOPIDARRAY];
$aDis = $this->_aDisabledLoopIDs();

0 comments on commit e61c612

Please sign in to comment.