projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685794d
)
Fixes event creation when there are X that are not in Xorg in the group.
author
Stéphane Jacob
<jacou@melix.net>
Sat, 20 Dec 2008 15:54:57 +0000
(16:54 +0100)
committer
Stéphane Jacob
<jacou@melix.net>
Sat, 20 Dec 2008 15:54:57 +0000
(16:54 +0100)
modules/xnetevents/xnetevents.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/xnetevents/xnetevents.inc.php
b/modules/xnetevents/xnetevents.inc.php
index
494d664
..
cae7848
100644
(file)
--- a/
modules/xnetevents/xnetevents.inc.php
+++ b/
modules/xnetevents/xnetevents.inc.php
@@
-318,7
+318,7
@@
function event_change_shortname(&$page, $eid, $old, $new)
$lastid = XDB::insertId();
XDB::execute("INSERT INTO virtual_redirect (
- SELECT {?} AS vid, IF(
u.nom
IS NULL, m.email, CONCAT(a.alias, {?})) AS redirect
+ SELECT {?} AS vid, IF(
a.alias
IS NULL, m.email, CONCAT(a.alias, {?})) AS redirect
FROM groupex.membres AS m
LEFT JOIN groupex.evenements_participants AS ep ON (ep.uid = m.uid AND ep.eid = {?})
LEFT JOIN auth_user_md5 AS u ON (u.user_id = m.uid)