projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'origin/master' into fusionax
[platal.git]
/
include
/
validations.inc.php
diff --git
a/include/validations.inc.php
b/include/validations.inc.php
index
2d730a2
..
6666e28
100644
(file)
--- a/
include/validations.inc.php
+++ b/
include/validations.inc.php
@@
-85,6
+85,10
@@
abstract class Validate
$this->stamp = date('YmdHis');
$this->unique = $_unique;
$this->type = $_type;
+ $res = XDB::query("SELECT promo
+ FROM profile_display
+ WHERE pid={?}", $this->user->id());
+ $this->promo = $res->fetchOneCell();
}
// }}}