News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

an error in forum error log since 1.1.4

Started by wibo, October 08, 2007, 08:42:41 AM

Previous topic - Next topic

wibo

Since the upgrade to 1.1.4 I have this error in my log everytime I do a search:

8: Undefined index: brd
File: /home/"forum-url"/public_html/Sources/Search.php
Line: 407

Is this a bug?

ioszilla

Yes it is a bug. Nothing serious thou, don't worry about it. :)


codenaught

Dev Consultant
Former SMF Doc Coordinator

wibo

akabugeyes,

is it ok to use just this code?

Search.php

Find

   if (!is_array($_REQUEST['brd']) && !empty($_REQUEST['brd']))

Replace
   if (!empty($_REQUEST['brd']) && !is_array($_REQUEST['brd']))

I prefer not to install mods (mods remains even after an eventual new release where this problem will be resolved)

codenaught

If that is all the mod changes, you are perfectly welcome to install it manually using that code change if desired.
Dev Consultant
Former SMF Doc Coordinator

Advertisement: