Commit 37a342a1 authored by Russ Fish's avatar Russ Fish
Browse files

Don't let it die with an undefined attributes array.

parent 1b579579
......@@ -32,6 +32,10 @@ $optargs = OptionalPageArguments("submit", PAGEARG_STRING,
"newattribute_name", PAGEARG_STRING,
"newattribute_value", PAGEARG_STRING);
if (!isset($attributes)) {
$attributes = array();
# This belongs elsewhere!
$initial_attributes = array(
array("attrkey" => "adminmfs_osid", "attrvalue" => "FREEBSD-MFS",
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