All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit f370e1cf authored by Russ Fish's avatar Russ Fish

Quiet some PHP warnings.

parent 1813c6f6
......@@ -31,10 +31,8 @@ $optargs = OptionalPageArguments("submit", PAGEARG_STRING,
"newattribute_type", PAGEARG_STRING,
"newattribute_name", PAGEARG_STRING,
"newattribute_value", PAGEARG_STRING);
if (!isset($attributes)) {
$attributes = array();
}
if (!isset($node_type)) { $node_type = ""; }
if (!isset($attributes)) { $attributes = array(); }
# This belongs elsewhere!
$initial_attributes = array(
......
......@@ -246,10 +246,10 @@ function GENPLIST ($query_result)
echo "</tr>\n";
while (list($pid, $foo) = each($showby)) {
if (!isset($projectrows["$pid"])) {
continue;
}
$projectrow = $projectrows["$pid"];
if (!isset($projectrow)) {
continue;
}
$headidx = $projectrow["head_idx"];
$Pname = $projectrow["name"];
$approved = $projectrow["approved"];
......
......@@ -122,6 +122,7 @@ echo "<br><br>\n";
# No ranges, just ordered.
#
function showsummary ($showby, $sortby) {
global $TBOPSPID;
switch ($showby) {
case "projects":
$which = "pid";
......
Markdown is supported
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