Merge pull request #240 from CatoTH/master

Some bugfixes / Notices
This commit is contained in:
friendica 2012-04-17 06:50:09 -07:00
commit 8269d6aa19
9 changed files with 44 additions and 43 deletions

View file

@ -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')) {

View file

@ -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();