diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2016-08-23 21:30:10 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2016-08-23 21:30:10 +0200 |
| commit | 0048c2b6135049cd4669ff8208331c3870121f5d (patch) | |
| tree | 15f931eb2fdb28c5259b552d2e659e9273579dfa /phpBB/phpbb/search/base.php | |
| parent | f814840568c004f2de3df828e5b6a7f95de99035 (diff) | |
| download | forums-0048c2b6135049cd4669ff8208331c3870121f5d.tar forums-0048c2b6135049cd4669ff8208331c3870121f5d.tar.gz forums-0048c2b6135049cd4669ff8208331c3870121f5d.tar.bz2 forums-0048c2b6135049cd4669ff8208331c3870121f5d.tar.xz forums-0048c2b6135049cd4669ff8208331c3870121f5d.zip | |
[ticket/14748] Make sure config values are casted to int
PHPBB3-14748
Diffstat (limited to 'phpBB/phpbb/search/base.php')
| -rw-r--r-- | phpBB/phpbb/search/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/base.php b/phpBB/phpbb/search/base.php index d9313dddab..56de973b65 100644 --- a/phpBB/phpbb/search/base.php +++ b/phpBB/phpbb/search/base.php @@ -286,7 +286,7 @@ class base $sql = 'DELETE FROM ' . SEARCH_RESULTS_TABLE . ' - WHERE search_time < ' . (time() - $config['search_store_results']); + WHERE search_time < ' . (time() - (int) $config['search_store_results']); $db->sql_query($sql); } } |
