Commit 3ce287cc authored by Leigh B. Stoller's avatar Leigh B. Stoller

Global variables need to be declared global in PHP ... silly, I know.

parent 52447f5d
...@@ -47,7 +47,7 @@ $types_result = ...@@ -47,7 +47,7 @@ $types_result =
function SPITFORM($formfields, $errors) function SPITFORM($formfields, $errors)
{ {
global $uid, $projlist, $isadmin, $types_result; global $uid, $projlist, $isadmin, $types_result;
global $TBDB_IMAGEID_IMAGENAMELEN, $TBDB_NODEIDLEN; global $TBDB_IMAGEID_IMAGENAMELEN, $TBDB_NODEIDLEN, $TBPROJ_DIR;
if ($errors) { if ($errors) {
echo "<table class=nogrid echo "<table class=nogrid
......
...@@ -88,7 +88,7 @@ function SPITFORM($formfields, $errors) ...@@ -88,7 +88,7 @@ function SPITFORM($formfields, $errors)
global $uid, $projlist, $isadmin, $types_result, $osid_oslist, $osid_opmodes, global $uid, $projlist, $isadmin, $types_result, $osid_oslist, $osid_opmodes,
$osid_featurelist, $nodetype, $filename_extension, $help_message; $osid_featurelist, $nodetype, $filename_extension, $help_message;
global $TBDB_OSID_OSNAMELEN, $TBDB_NODEIDLEN; global $TBDB_OSID_OSNAMELEN, $TBDB_NODEIDLEN;
global $TBDB_OSID_VERSLEN, $TBBASE; global $TBDB_OSID_VERSLEN, $TBBASE, $TBPROJ_DIR;
global $view; global $view;
# #
......
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