projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d262f
)
http://www.atutor.ca/atutor/mantis/view.php?id=2755
author
joel kronenberg
<joel.kronenberg@utoronto.ca>
Tue, 12 Sep 2006 16:42:15 +0000
(16:42 -0000)
committer
joel kronenberg
<joel.kronenberg@utoronto.ca>
Tue, 12 Sep 2006 16:42:15 +0000
(16:42 -0000)
docs/links/index.php
patch
|
blob
|
history
diff --git
a/docs/links/index.php
b/docs/links/index.php
index
f93198d
..
5517d04
100644
(file)
--- a/
docs/links/index.php
+++ b/
docs/links/index.php
@@
-71,6
+71,7
@@
if (isset($_GET['asc'])) {
//search
if ($_GET['search']) {
+ $_GET['search'] = trim($_GET['search']);
$page_string .= SEP.'search='.urlencode($_GET['search']);
$search = $addslashes($_GET['search']);
$search = str_replace(array('%','_'), array('\%', '\_'), $search);