Commit 5feef1ea authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix.

parent 03d6c6aa
......@@ -258,7 +258,7 @@ function CreateURL($page_id)
$key = "experiment";
$val = $val->idx();
}
elseif (is_int($val)) {
elseif (preg_match("/^[\d]+$/", "$val")) {
$key = "experiment";
}
else {
......
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