diff options
| author | Dhruv <dhruv.goel92@gmail.com> | 2012-07-24 12:10:22 +0530 |
|---|---|---|
| committer | Dhruv <dhruv.goel92@gmail.com> | 2012-07-28 18:28:51 +0530 |
| commit | 2e218776bbac82841e1ced583c83890be5080af0 (patch) | |
| tree | e9f88494af50df4aead9bff68e15e7628cee7661 /phpBB/search.php | |
| parent | 33c6d7c8be41ddd15b4e03e5dfecfd259c77b327 (diff) | |
| download | forums-2e218776bbac82841e1ced583c83890be5080af0.tar forums-2e218776bbac82841e1ced583c83890be5080af0.tar.gz forums-2e218776bbac82841e1ced583c83890be5080af0.tar.bz2 forums-2e218776bbac82841e1ced583c83890be5080af0.tar.xz forums-2e218776bbac82841e1ced583c83890be5080af0.zip | |
[ticket/11011] passing global variables
Pass global variables to class constructor when making a new object.
PHPBB3-11011
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index efbf2f4dfe..68946e2a95 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -280,7 +280,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) } // We do some additional checks in the module to ensure it can actually be utilised $error = false; - $search = new $search_type($error); + $search = new $search_type($error, $phpbb_root_path, $phpEx, $config, $db, $user); if ($error) { |
