Commit:    e353f1f83f51adb95a5fc981e0ee37d2374602d5
Author:    kovacs.ferenc <[email protected]>         Wed, 11 Jun 2014 
10:34:02 +0200
Parents:   7a58a2d45ef15e041ec9a4bac7e8fbb092285fc6
Branches:  master

Link:       
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=e353f1f83f51adb95a5fc981e0ee37d2374602d5

Log:
escape the project param

Changed paths:
  M  include/functions.php


Diff:
diff --git a/include/functions.php b/include/functions.php
index 0782e23..b092260 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1572,6 +1572,8 @@ function get_resolve_reasons($project = false)
 
        $where = '';
 
+       $project = escapeSQL($project);
+
        if ($project !== false)
                $where.= "WHERE (project = '{$project}' OR project = '')";


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to