Commit e0f29616 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Fixed undefined index "urlid" (Bug #1011861)"

parents 3f529b3e e3ea74c4
......@@ -443,7 +443,7 @@ function editgroup_submit(Pieform $form, $values) {
db_commit();
// Reload $group_data->urlid or else the redirect will fail
if (get_config('cleanurls') && !isset($values['urlid']) || $group_data->urlid != $values['urlid']) {
if (get_config('cleanurls') && (!isset($values['urlid']) || $group_data->urlid != $values['urlid'])) {
$group_data->urlid = get_field('group', 'urlid', 'id', $group_data->id);
}
......
Supports Markdown
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