Skip to content
Permalink
Browse files

add comments on upgrade compat issues

  • Loading branch information...
michield authored and samtuke committed May 23, 2019
1 parent 33867c7 commit 68635d3a763e500b4f97dcbb389ee4395c5cd927
Showing with 3 additions and 0 deletions.
  1. +3 −0 public_html/lists/dl.php
@@ -52,6 +52,9 @@
## @@TODO, add a check that this subscriber was actually sent any mails with this attachment. We're only checking that the subscriber exists
$userid = Sql_Fetch_Row_Query(sprintf('select id from %s where uniqid = "%s"',$GLOBALS['tables']['user'], $uid));
}
## this will have an issue in upgrade. When a campaign has been sent on an older version without the "uid", it will stop providing the document.
## and throw a 404. This only applies to attachments in text versions of the campaigns (very limited audience, presumably)
if (empty($userid)) {
FileNotFound();
}

0 comments on commit 68635d3

Please sign in to comment.
You can’t perform that action at this time.