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 ) ) {