projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moves description list of profile items to Profile class.
[platal.git]
/
modules
/
xnet.php
diff --git
a/modules/xnet.php
b/modules/xnet.php
index
3da7b6a
..
dbaa8a3
100644
(file)
--- a/
modules/xnet.php
+++ b/
modules/xnet.php
@@
-117,7
+117,7
@@
class XnetModule extends PLModule
XDB::execute('INSERT INTO groups (id, diminutif)
VALUES (NULL, {?})',
Post::v('diminutif'));
XDB::execute('INSERT INTO groups (id, diminutif)
VALUES (NULL, {?})',
Post::v('diminutif'));
- pl_redirect(
'../' .
Post::v('diminutif') . '/edit');
+ pl_redirect(Post::v('diminutif') . '/edit');
} else {
$page->trigError('Le diminutif demandé est déjà pris.');
}
} else {
$page->trigError('Le diminutif demandé est déjà pris.');
}
@@
-187,7
+187,7
@@
class XnetModule extends PLModule
$page->assign('cat', $cat);
$page->assign('dom', $dom);
$page->assign('cat', $cat);
$page->assign('dom', $dom);
- $res = XDB::query("SELECT id,nom
+ $res = XDB::query("SELECT id,nom
FROM group_dom
WHERE FIND_IN_SET({?}, cat)
ORDER BY nom", $cat);
FROM group_dom
WHERE FIND_IN_SET({?}, cat)
ORDER BY nom", $cat);