Commit f9fb81a4 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1648679: Avoiding "Passed by reference" error"

parents d9d02bc1 d0df443b
......@@ -253,7 +253,8 @@ function newurl_submit(Pieform $form, $values) {
if ($collection) {
$viewid = reset($collection->get_viewids());
$viewids = $collection->get_viewids();
$viewid = reset($viewids);
else {
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