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 905543d0 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 9036d314
......@@ -73,7 +73,7 @@ if (isset($addnumber) && $addnumber == "") {
if (count($selected_nodes)) {
$equal_clauses = array();
foreach ($selected_nodes as $node) {
if (!is_int($node)) {
if (!is_numeric($node)) {
USERERROR("Invalid node id", 1);
}
$equal_clauses[] = "new_node_id=$node";
......
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