aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_upload.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-03 18:17:42 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-03 18:17:42 -0700
commit8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2 (patch)
treed50b9bbbe27949f1796dcc74e52346590676c8c5 /mod/wall_upload.php
parent4b39cc5f9b9de942bad9cf3a95333713f62c1d4b (diff)
downloadvolse-hubzilla-8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2.tar.gz
volse-hubzilla-8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2.tar.bz2
volse-hubzilla-8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2.zip
front page
Diffstat (limited to 'mod/wall_upload.php')
-rw-r--r--mod/wall_upload.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/wall_upload.php b/mod/wall_upload.php
index c585fc30b..34c541677 100644
--- a/mod/wall_upload.php
+++ b/mod/wall_upload.php
@@ -35,7 +35,7 @@ function wall_upload_post(&$a) {
$str_image = $ph->imageString();
$smallest = 0;
- $r = q("INSERT INTO `photo` ( `uid`, `resource-id`, `created`, `edited`, `filename`,
+ $r = q("INSERT INTO `photo` ( `uid`, `resource-id`, `created`, `edited`, `filename`, `album`,
`height`, `width`, `data`, `scale` )
VALUES ( %d, '%s', '%s', '%s', '%s', %d, %d, '%s', 0 )",
intval($_SESSION['uid']),
@@ -43,6 +43,7 @@ function wall_upload_post(&$a) {
datetime_convert(),
datetime_convert(),
dbesc(basename($filename)),
+ dbesc( t('Wall Photos')),
intval($height),
intval($width),
dbesc($str_image));