Skip to content

Commit

Permalink
"filearea name changed"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsheng Cai committed Jul 29, 2010
1 parent b9a048f commit 002f53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/recent/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private function get_recent_files($limitfrom = 0, $limit = DEFAULT_RECENT_FILES_
WHERE userid = ? AND filename != ? AND filearea != ?
GROUP BY contenthash, filename) files2 ON files1.id = files2.id
ORDER BY files1.timemodified DESC';
$params = array('userid'=>$USER->id, 'filename'=>'.', 'filearea'=>'user_draft');
$params = array('userid'=>$USER->id, 'filename'=>'.', 'filearea'=>'draft');
$rs = $DB->get_recordset_sql($sql, $params, $limitfrom, $limit);
$result = array();
foreach ($rs as $file_record) {
Expand Down

0 comments on commit 002f53a

Please sign in to comment.