GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2341aef
)
getUserSubmission_children fix3
author
niekt0
<niekt0@kyberia.cz>
Mon, 20 Jun 2011 14:38:11 +0000
(16:38 +0200)
committer
niekt0
<niekt0@kyberia.cz>
Mon, 20 Jun 2011 14:38:11 +0000
(16:38 +0200)
wwwroot/backend/mysql/backend.inc
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/backend/mysql/backend.inc
b/wwwroot/backend/mysql/backend.inc
index 55eafab5e5633d8deb557d674497aa883ec2d096..f7bba661bf9b7cb476f1a6e4670fad03480e67ba 100644
(file)
--- a/
wwwroot/backend/mysql/backend.inc
+++ b/
wwwroot/backend/mysql/backend.inc
@@
-288,7
+288,7
@@
public static function GetUserSubmissionsChildren($user_id,$limit=23,$offset=0,$
// XXX orderby mysql escape
- $q = "select child.*
,
from nodes as child join
+ $q = "select child.* from nodes as child join
(select node_id,node_creator from nodes where node_creator='$user_id')
as j2 on child.node_parent=j2.node_id and child.node_creator <> '$user_id'
join users as j3 on j3.user_id=child.node_creator order by node_created desc
This page took
0.310419 seconds
and
4
git commands to generate.