projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa0c836
)
Fixes SQL error.
author
Stéphane Jacob
<sj@m4x.org>
Wed, 29 Jun 2011 17:45:39 +0000
(19:45 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Wed, 29 Jun 2011 17:45:39 +0000
(19:45 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/admin.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/admin.php
b/modules/admin.php
index
b9e9b18
..
ad07d0e
100644
(file)
--- a/
modules/admin.php
+++ b/
modules/admin.php
@@
-1988,7
+1988,8
@@
class AdminModule extends PLModule
XDB::execute('INSERT INTO profile_education (id, pid, eduid, degreeid, entry_year, grad_year, promo_year, flags)
SELECT ' . $select . '
FROM profile_education
- WHERE pid = {?}',
+ WHERE pid = {?}
+ GROUP BY pid',
$pid);
}
XDB::commit();