Commit 118ff8dd authored by Mike Hibler's avatar Mike Hibler

Nit: fix another PHP error.

Use of undefined variables in the construction of an error message.
parent c37e6de8
<?php <?php
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2007 University of Utah and the Flux Group. # Copyright (c) 2000-2010 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
include("defs.php3"); include("defs.php3");
...@@ -112,7 +112,8 @@ else { ...@@ -112,7 +112,8 @@ else {
} }
elseif (! ($group = Group::LookupByPidGid($formfields["exp_pid"], elseif (! ($group = Group::LookupByPidGid($formfields["exp_pid"],
$formfields["exp_gid"]))) { $formfields["exp_gid"]))) {
$errors["Group"] = "Group '$exp_gid' is not in project '$exp_pid'"; $errors["Group"] = "Group '" . $formfields["exp_gid"] .
"' is not in project '" . $formfields["exp_pid"]. "'";
} }
} }
else { 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