projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new constant for batch fetching
[platal.git]
/
modules
/
marketing.php
diff --git
a/modules/marketing.php
b/modules/marketing.php
index
eea4a83
..
5068fd4
100644
(file)
--- a/
modules/marketing.php
+++ b/
modules/marketing.php
@@
-123,8
+123,8
@@
class MarketingModule extends PLModule
$res = XDB::iterator(
"SELECT r.*, a.alias
FROM register_marketing AS r
$res = XDB::iterator(
"SELECT r.*, a.alias
FROM register_marketing AS r
- LEFT JOIN aliases AS a ON (r.sender
=a.
id AND a.type = 'a_vie')
- WHERE
uid=
{?}
+ LEFT JOIN aliases AS a ON (r.sender
= a.u
id AND a.type = 'a_vie')
+ WHERE
r.uid =
{?}
ORDER BY date", $user->id());
$page->assign('addr', $res);
ORDER BY date", $user->id());
$page->assign('addr', $res);