If adding a new VIEW, changed values for User and Group options are remembered now when configuring columns

This commit is contained in:
Andre Lorbach 2010-02-23 12:33:12 +01:00
parent 0f9ed81824
commit 33fce7e795

View File

@ -331,6 +331,26 @@ if ( isset($_POST['op']) )
if ( !isset($content['ISERROR']) )
{
// --- Set SUBOP Helpers
if ( $content['userid'] == "null" )
$content['CHECKED_ISUSERONLY'] = "";
else
$content['CHECKED_ISUSERONLY'] = "checked";
if ( $content['ISGROUPSAVAILABLE'] && $content['groupid'] != "null" )
{
// Process All Groups
for($i = 0; $i < count($content['SUBGROUPS']); $i++)
{
if ( $content['SUBGROUPS'][$i]['mygroupid'] == $content['groupid'] )
$content['SUBGROUPS'][$i]['group_selected'] = "selected";
else
$content['SUBGROUPS'][$i]['group_selected'] = "";
}
}
// ---
// Check subop's first!
if ( isset($_POST['subop']) )
{