projects
/
acontent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06f8a4
)
http://atutor.ca/atutor/mantis/view.php?id=4578
author
Harris Wong
<hwong@ocad.ca>
Fri, 8 Oct 2010 20:06:20 +0000
(20:06 -0000)
committer
Harris Wong
<hwong@ocad.ca>
Fri, 8 Oct 2010 20:06:20 +0000
(20:06 -0000)
docs/include/classes/DAO/SecondaryResourcesDAO.class.php
patch
|
blob
|
history
diff --git
a/docs/include/classes/DAO/SecondaryResourcesDAO.class.php
b/docs/include/classes/DAO/SecondaryResourcesDAO.class.php
index
6585590
..
9a76f07
100644
(file)
--- a/
docs/include/classes/DAO/SecondaryResourcesDAO.class.php
+++ b/
docs/include/classes/DAO/SecondaryResourcesDAO.class.php
@@
-35,7
+35,7
@@
class SecondaryResourcesDAO extends DAO {
global $addslashes;
$primary_resource_id = intval($primary_resource_id);
- $file_name = $addslashes(
$file_name
);
+ $file_name = $addslashes(
convertAmp($file_name)
);
$lang = $addslashes($lang);
$sql = "INSERT INTO ".TABLE_PREFIX."secondary_resources