Merge branch 'develop' of github.com:octobercms/october into develop

This commit is contained in:
alekseybobkov 2014-07-28 17:23:07 +11:00
commit b36340dbd7
1 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,8 @@ abstract class WidgetBase
if ($suffix !== null)
$id .= '-' . $suffix;
$id = rtrim(str_replace(['[', ']'], '-', $id), '-');
return $id;
}
@ -248,4 +250,4 @@ abstract class WidgetBase
Session::forget($sessionId);
}
}
}