Improved uninitialised variable handling

pull/1/head
root 16 years ago
parent 3adf151d47
commit e8d3a5247b

@ -16,6 +16,12 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ ?>
<?
if(!array_key_exists('notarise',$_SESSION['_config']))
{
echo "Error: No user data found.";
exit;
}
$row = $_SESSION['_config']['notarise'];
if(!array_key_exists('pointsalready',$_SESSION['_config'])) $_SESSION['_config']['pointsalready']=0;

Loading…
Cancel
Save