projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix networking display on profiles
[platal.git]
/
modules
/
platal.php
diff --git
a/modules/platal.php
b/modules/platal.php
index
197728e
..
2ad9317
100644
(file)
--- a/
modules/platal.php
+++ b/
modules/platal.php
@@
-132,10
+132,7
@@
class PlatalModule extends PLModule
if (Post::has('email_format')) {
$fmt = Post::s('email_format');
if (Post::has('email_format')) {
$fmt = Post::s('email_format');
- XDB::execute("UPDATE accounts
- SET email_format = {?}
- WHERE uid = {?}",
- $fmt, S::v('uid'));
+ S::user()->setEmailFormat($fmt);
S::set('email_format', $fmt);
}
S::set('email_format', $fmt);
}