aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/text.php2
-rwxr-xr-xlibrary/blueimp_upload/server/node/server.js2
-rwxr-xr-xlibrary/jqupload/server/node/server.js2
-rw-r--r--mod/photos.php2
4 files changed, 5 insertions, 3 deletions
diff --git a/include/text.php b/include/text.php
index a03648081..0b5ad9c72 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2716,5 +2716,7 @@ function item_url_replace($channel,&$item,$old,$new) {
$item['sig'] = base64url_encode(rsa_sign($item['body'],$channel['channel_prvkey']));
$item['item_verified'] = 1;
}
+
+ // @fixme item['plink'] and item['llink']
}
diff --git a/library/blueimp_upload/server/node/server.js b/library/blueimp_upload/server/node/server.js
index 7bab20f59..808d6ffe1 100755
--- a/library/blueimp_upload/server/node/server.js
+++ b/library/blueimp_upload/server/node/server.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
/*
* jQuery File Upload Plugin Node.js Example 2.1.2
* https://github.com/blueimp/jQuery-File-Upload
diff --git a/library/jqupload/server/node/server.js b/library/jqupload/server/node/server.js
index 5eb07a6ed..e489772b5 100755
--- a/library/jqupload/server/node/server.js
+++ b/library/jqupload/server/node/server.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
/*
* jQuery File Upload Plugin Node.js Example 2.1.1
* https://github.com/blueimp/jQuery-File-Upload
diff --git a/mod/photos.php b/mod/photos.php
index b0d9bc631..f1b7aceed 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -463,7 +463,7 @@ function photos_post(&$a) {
$_REQUEST['group_deny'] = expand_acl($channel['channel_deny_gid']);
}
- $r = attach_store($a->channel,get_observer_hash(), '', $_REQUEST);
+ $r = attach_store($channel,get_observer_hash(), '', $_REQUEST);
if(! $r['success']) {
notice($r['message'] . EOL);