Rerun cleanup in attachments_db.inc
authorJoe <joe.hunt.consulting@gmail.com>
Tue, 7 Feb 2023 22:49:49 +0000 (23:49 +0100)
committerJoe <joe.hunt.consulting@gmail.com>
Tue, 7 Feb 2023 22:49:49 +0000 (23:49 +0100)
admin/db/attachments_db.inc

index c4fc0d68fab7c4bb6fa0db0e8cd7858687d6c1d3..e563dba3a7bba84dd5e6b9afb2691cba6e2c1b2e 100644 (file)
@@ -64,7 +64,8 @@ function get_attachment_string($type, $id)
     {
         if (strlen($str_return))
             $str_return = $str_return . " \n";    
-        $str_return .= _("Attached File:")." <a target='_blank' href='$path_to_root/admin/attachments.php?vw=".$attachment["id"]."' onclick='javascript:openWindow(this.href, this.target);return false;'> ".$attachment["id"] . " " . $attachment["description"]. " - ". $attachment["filename"]."</a><br>";
+        $str_return .= _("Attached File:")." <a target='_blank' href='$path_to_root/admin/attachments.php?vw=".$attachment["id"]."' onclick='javascript:openWindow(this.href, this.target);return false;'> ".
+               $attachment["id"] . " " . $attachment["description"]. " - ". $attachment["filename"]."</a><br>";
     }
     return $str_return . "<br>";
 }