From 225de1bdffd0c83182e0aba1b0327baaf1f63f98 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 11 Apr 2018 11:08:22 +0800 Subject: [PATCH] sync --- DataObjects/Events.php | 1 + NotifySend.php | 2 +- VerifyAccess.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DataObjects/Events.php b/DataObjects/Events.php index 0f4830b1..e5650a85 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -510,6 +510,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject @mkdir(dirname($file),0700,true); // this might fail if it does not have correct permissions.. if (!file_exists(dirname($file))) { + print_r($this); die("could not create $file - permissons are not correct"); // fatal, otherwise we loop!? } diff --git a/NotifySend.php b/NotifySend.php index 8676ff8b..7fe712ce 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -625,7 +625,7 @@ class Pman_Core_NotifySend extends Pman if (method_exists($object, 'toMailerData')) { return $object->toMailerData(array( 'rcpts'=>$rcpt, - 'person'=>$rcpt, + 'person'=>$rcpt, // added as mediaoutreach used this? )); //this is core_email - i think it's only used for testing... //var_Dump($object); //exit; diff --git a/VerifyAccess.php b/VerifyAccess.php index b93f7c7b..d62e116e 100644 --- a/VerifyAccess.php +++ b/VerifyAccess.php @@ -46,7 +46,7 @@ class Pman_Core_VerifyAccess extends Pman } - function post() + function post($base) { $core_ip_access = DB_DataObject::factory('core_ip_access'); -- 2.39.2