projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NEW FEATURE: removed RC1 from header
[e-DoKo.git]
/
include
/
db.php
diff --git
a/include/db.php
b/include/db.php
index 514bde271a48f2ce976c664ba94ff25c4211adb6..de549a5bd68a438f39b28c14cc603ac74af2b066 100644
(file)
--- a/
include/db.php
+++ b/
include/db.php
@@
-729,6
+729,14
@@
function DB_get_PREF($myid)
else
$PREF['autosetup']='no';
+ /* Sorting */
+ $r = DB_query_array("SELECT value FROM User_Prefs".
+ " WHERE user_id='$myid' AND pref_key='sorting'" );
+ if($r)
+ $PREF['sorting'] = $r[0];
+ else
+ $PREF['sorting']='high-low';
+
return $PREF;
}