From 48eb23885fc34774d46b99dcf6d1afaa164560ba Mon Sep 17 00:00:00 2001 From: jonsowman Date: Sun, 28 Nov 2010 12:46:54 +0000 Subject: [PATCH] Corrected uuid to --- cron/clear-pydap-cache-cronjob.sh | 0 cron/prune-predictions-cronjob.sh | 0 predict.py | 0 predict/ajax.php | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 cron/clear-pydap-cache-cronjob.sh mode change 100755 => 100644 cron/prune-predictions-cronjob.sh mode change 100755 => 100644 predict.py diff --git a/cron/clear-pydap-cache-cronjob.sh b/cron/clear-pydap-cache-cronjob.sh old mode 100755 new mode 100644 diff --git a/cron/prune-predictions-cronjob.sh b/cron/prune-predictions-cronjob.sh old mode 100755 new mode 100644 diff --git a/predict.py b/predict.py old mode 100755 new mode 100644 diff --git a/predict/ajax.php b/predict/ajax.php index 56c29f7..7264a75 100644 --- a/predict/ajax.php +++ b/predict/ajax.php @@ -53,7 +53,7 @@ case "locationSave": case "getModelByUUID": $uuid = ( isset($_GET['uuid']) ? $_GET['uuid'] : false ); - if( !uuid ) die ("No uuid given to getModelByUUID"); + if( !$uuid ) die ("No uuid given to getModelByUUID"); // make a new model $pred_model = array(); if ( !file_exists(PREDS_PATH . $uuid . "/" . SCENARIO_FILE ) ) {