Commit e3ea74c4 authored by Christopher Tombleson's avatar Christopher Tombleson Committed by Richard Mansfield
Browse files

Fixed undefined index "urlid" (Bug #1011861)



Change-Id: I6332832bf850cf870948b8ef0f73334023a442e8
Signed-off-by: default avatarChristopher Tombleson <christopher@catalyst.net.nz>
parent 3f529b3e
......@@ -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