Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401d480
)
MDL-29496 course search - emergency regression fix
author
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Wed, 19 Oct 2011 22:33:30 +0000
(
00:33
+0200)
committer
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Wed, 19 Oct 2011 22:49:02 +0000
(
00:49
+0200)
lib/datalib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/datalib.php
b/lib/datalib.php
index
0330604
..
3e31ee2
100644
(file)
--- a/
lib/datalib.php
+++ b/
lib/datalib.php
@@
-717,7
+717,7
@@
function get_courses_search($searchterms, $sort='fullname ASC', $page=0, $record
$params = array();
$i = 0;
- $concat = $DB->sql_concat("COALESCE(c.summary,
". $DB->sql_empty() ."
)", "' '", 'c.fullname', "' '", 'c.idnumber', "' '", 'c.shortname');
+ $concat = $DB->sql_concat("COALESCE(c.summary,
'". $DB->sql_empty() ."'
)", "' '", 'c.fullname', "' '", 'c.idnumber', "' '", 'c.shortname');
foreach ($searchterms as $searchterm) {
$i++;