funny behaviour with post permissions after recent changes
This commit is contained in:
parent
3789c288a7
commit
1d2fdb259e
2 changed files with 6 additions and 2 deletions
2
boot.php
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue