commit
8269d6aa19
9 changed files with 44 additions and 43 deletions
|
@ -170,7 +170,7 @@ function photo_init(&$a) {
|
|||
}
|
||||
|
||||
// Writing in cachefile
|
||||
if ($cachefile != '')
|
||||
if (isset($cachefile) && $cachefile != '')
|
||||
file_put_contents($cachefile, $data);
|
||||
|
||||
if(function_exists('header_remove')) {
|
||||
|
|
|
@ -330,7 +330,6 @@ function photos_post(&$a) {
|
|||
// Create item container
|
||||
|
||||
$title = '';
|
||||
$basename = basename($filename);
|
||||
$uri = item_new_uri($a->get_hostname(),$page_owner_uid);
|
||||
|
||||
$arr = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue