aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/message.php1
-rw-r--r--mod/photos.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/mod/message.php b/mod/message.php
index d5bb3dfe4..519634be5 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -407,6 +407,7 @@ function message_content(&$a) {
'$parent' => $parent,
'$upload' => t('Upload photo'),
'$insert' => t('Insert web link'),
+ '$submit' => t('Submit'),
'$wait' => t('Please wait')
));
diff --git a/mod/photos.php b/mod/photos.php
index c6065f3ca..91adbb33b 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -718,6 +718,7 @@ function photos_post(&$a) {
killme();
}
+ $ph->orient($src);
@unlink($src);
$width = $ph->getWidth();