aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/photos.php2
-rw-r--r--mod/wall_upload.php3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/photos.php b/include/photos.php
index 794ff7748..cd753ffea 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -31,7 +31,7 @@ function photo_upload($channel, $observer, $args) {
if($newalbum)
$album = $newalbum;
else
- $album = datetime_convert('UTC',date_default_timezone_get(),'now', 'Y');
+ $album = datetime_convert('UTC',date_default_timezone_get(),'now', 'Y-m');
}
/**
diff --git a/mod/wall_upload.php b/mod/wall_upload.php
index 7ed1859a8..81ca643df 100644
--- a/mod/wall_upload.php
+++ b/mod/wall_upload.php
@@ -32,8 +32,7 @@ function wall_upload_post(&$a) {
$observer = $a->get_observer();
- $args = array( 'source' => 'editor', 'album' => t('Wall Photos'),
- 'not_visible' => 1, 'contact_allow' => array($channel['channel_hash']));
+ $args = array( 'source' => 'editor', 'not_visible' => 1, 'contact_allow' => array($channel['channel_hash']));
$ret = photo_upload($channel,$observer,$args);