Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Joshua Anthony Morgan
sucs-site
Commits
26839724
Commit
26839724
authored
Apr 19, 2015
by
Imran Hussain
Browse files
Merge tested changes from beta into live
parent
cc7caea8
Changes
1
Show whitespace changes
Inline
Side-by-side
components/library.php
View file @
26839724
...
...
@@ -139,8 +139,9 @@ if (isset($_REQUEST['search']) && (trim($_REQUEST['search']) != "")) {
$tidy_config
[
'logical-emphasis'
]
=
true
;
$book
[
'description'
]
=
tidy_repair_string
(
$book
[
'description'
],
$tidy_config
);
// Commented out by ~imranh
// update db so we don't have to do this next time
$DB
->
Execute
(
"UPDATE books SET description=? WHERE id=?"
,
array
(
$book
[
'description'
],
$book
[
'id'
]));
//
$DB->Execute("UPDATE books SET description=? WHERE id=?", array($book['description'],$book['id']));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment