aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--i.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/i.php b/i.php
index 8ca3b68c2..0d252be99 100644
--- a/i.php
+++ b/i.php
@@ -468,7 +468,7 @@ if (strpos($page['src_location'], '/pwg_representative/')===false
$query = '
SELECT *
FROM '.$prefixeTable.'images
- WHERE path=\''.$page['src_location'].'\'
+ WHERE path=\''.addslashes($page['src_location']).'\'
;';
if ( ($row=pwg_db_fetch_assoc(pwg_query($query))) )