diff options
Diffstat (limited to 'frontends/php/include/db.inc.php')
| -rw-r--r-- | frontends/php/include/db.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index 4daada8f..7d9c1cf4 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -173,4 +173,8 @@ } } + function zbx_dbstr($var) + { + return "'".addslashes($var)."'"; + } ?> |
