aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-17 20:24:58 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-17 20:24:58 -0700
commit1d2fdb259eab5af5f6ba967c61707e3a6dd9a3d0 (patch)
tree3bcdaa2dabca09451001f490e071ec54edf1e280 /boot.php
parent3789c288a724117a750139c16b91088b70aba81e (diff)
downloadvolse-hubzilla-1d2fdb259eab5af5f6ba967c61707e3a6dd9a3d0.tar.gz
volse-hubzilla-1d2fdb259eab5af5f6ba967c61707e3a6dd9a3d0.tar.bz2
volse-hubzilla-1d2fdb259eab5af5f6ba967c61707e3a6dd9a3d0.zip
funny behaviour with post permissions after recent changes
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index eb3d1b06e..3bc8d2983 100644
--- a/boot.php
+++ b/boot.php
@@ -1027,7 +1027,7 @@ function photo_new_resource() {
if(! function_exists('get_uid')) {
function get_uid() {
- return ((x($_SESSION,'uid')) ? intval($_SESSION['uid']) : 0) ;
+ return local_user();
}}
// Take a URL from the wild, prepend http:// if necessary