From 662f2175704bd9b8aecedcc26935db35138d749c Mon Sep 17 00:00:00 2001 From: Erik Hommel Date: Thu, 20 Jul 2017 09:46:58 +0200 Subject: [PATCH] completed alternative 1 for issue 12 --- proxy/rest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/rest.php b/proxy/rest.php index 8b5e062..5a80389 100644 --- a/proxy/rest.php +++ b/proxy/rest.php @@ -49,7 +49,7 @@ if (!isset($action['version']) || $action['version'] != 3) { // in release 0.4, allowed entity/actions per IP were introduced. To introduce backward compatibility, // the previous test is still used when no 'all' key is found in the array -if (isset($relst_allowed_actions['all'] { +if (isset($rest_allowed_actions['all'])) { // get valid key for the rest_allowed_actions $valid_allowed_key = civiproxy_get_valid_allowed_actions_key($action);