]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_upload.php
notags calls
[friendica.git] / mod / wall_upload.php
index 84e40d3b56e643542a8063ec5a75344c480bf790..c093d28e3a7f427c5e5f5d85a0cd0af4ba2937c1 100644 (file)
@@ -17,13 +17,14 @@ use Friendica\Database\DBA;
 use Friendica\Model\Contact;
 use Friendica\Model\Photo;
 use Friendica\Object\Image;
+use Friendica\Util\Strings;
 
 function wall_upload_post(App $a, $desktopmode = true)
 {
        Logger::log("wall upload: starting new upload", Logger::DEBUG);
 
        $r_json = (x($_GET, 'response') && $_GET['response'] == 'json');
-       $album = (x($_GET, 'album') ? notags(trim($_GET['album'])) : '');
+       $album = (x($_GET, 'album') ? Strings::removeTags(trim($_GET['album'])) : '');
 
        if ($a->argc > 1) {
                if (!x($_FILES, 'media')) {