mirror of https://github.com/BOINC/boinc.git
another undefined index removed
svn path=/trunk/boinc/; revision=6116
This commit is contained in:
parent
f17972048e
commit
5187814770
|
@ -462,7 +462,8 @@ function post_int($name, $optional=false) {
|
|||
}
|
||||
|
||||
function get_str($name, $optional=false) {
|
||||
$x = $_GET[$name];
|
||||
$x = null;
|
||||
if (isset($_GET[$name])) $x = $_GET[$name];
|
||||
if (!$x && !$optional) {
|
||||
error_page("missing or bad parameter: $name");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue