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