aboutsummaryrefslogtreecommitdiffstats
path: root/include/enotify.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-15 20:01:55 -0700
committerfriendica <info@friendica.com>2012-08-15 20:01:55 -0700
commit2358a220baad2f8dc027d9bd3cd01c34ae234968 (patch)
tree84f66d0bfb3c48d6f8409111c0b2216b5ea26eb7 /include/enotify.php
parent2a49460c7766d5868115689155e3b9595e5f36a2 (diff)
downloadvolse-hubzilla-2358a220baad2f8dc027d9bd3cd01c34ae234968.tar.gz
volse-hubzilla-2358a220baad2f8dc027d9bd3cd01c34ae234968.tar.bz2
volse-hubzilla-2358a220baad2f8dc027d9bd3cd01c34ae234968.zip
merge from upstream
Diffstat (limited to 'include/enotify.php')
-rw-r--r--include/enotify.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/enotify.php b/include/enotify.php
index 510991476..b2d7b7b19 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -1,5 +1,7 @@
<?php
+require_once('include/email.php');
+
function notification($params) {
logger('notification: entry', LOGGER_DEBUG);
@@ -324,7 +326,7 @@ function notification($params) {
// If so, create the record of it and use a message-id smtp header.
if(!$r) {
- logger("norify_id:" . intval($notify_id). ", parent: " . intval($params['parent']) . "uid: " .
+ logger("notify_id:" . intval($notify_id). ", parent: " . intval($params['parent']) . "uid: " .
intval($params['uid']), LOGGER_DEBUG);
$r = q("insert into `notify-threads` (`notify-id`, `master-parent-item`, `receiver-uid`, `parent-item`)
values(%d,%d,%d,%d)",