projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update UFC_SchoolId arguments
[platal.git]
/
modules
/
axletter
/
axletter.inc.php
diff --git
a/modules/axletter/axletter.inc.php
b/modules/axletter/axletter.inc.php
index
53c7dd3
..
8c28586
100644
(file)
--- a/
modules/axletter/axletter.inc.php
+++ b/
modules/axletter/axletter.inc.php
@@
-131,8
+131,8
@@
class AXLetter extends MassMailer
static public function subscribe($uid = null)
{
$user = is_null($uid) ? S::v('uid') : $uid;
static public function subscribe($uid = null)
{
$user = is_null($uid) ? S::v('uid') : $uid;
- XDB::execute(
"REPLACE INTO axletter_ins (uid,
last)
-
VALUES ({?}, 0)"
, $user);
+ XDB::execute(
'INSERT IGNORE INTO axletter_ins (uid,
last)
+
VALUES ({?}, 0)'
, $user);
}
static public function hasPerms()
}
static public function hasPerms()