![]() |
Undefined Variable: $reg
I think I found a typo in version 1.8.0:
When doing searches with keywords as short as SMALL_WORDS_SIZE or shorter, I would get this message from PHP for each keyword entered: Notice: Undefined variable: reg in ..\libs\search_function.php on line 150 I notice that this array, '$reg' only exists in the code in 4 or 5 places, and never gets assigned any value. Is this a typo? should this be '$regs' instead of '$reg'? It also exists in robot_functions.php around line 150. After changing all occurances to '$regs', the above error dissappeared. |
Hi. Yes, the following line:
PHP Code:
PHP Code:
|
awsome... thanks!
|
All times are GMT -8. The time now is 12:36 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.