"escapeTags" is finally removed

This commit is contained in:
Michael 2021-11-07 09:18:25 +00:00
commit cfac13790b
11 changed files with 11 additions and 34 deletions

View file

@ -204,7 +204,7 @@ function photos_post(App $a)
}
// RENAME photo album
$newalbum = Strings::escapeTags(trim($_POST['albumname']));
$newalbum = trim($_POST['albumname']);
if ($newalbum != $album) {
Photo::update(['album' => $newalbum], ['album' => $album, 'uid' => $page_owner_uid]);
// Update the photo albums cache