Closed (fixed)
Project:
Search 404
Version:
6.x-1.1
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jul 2008 at 15:05 UTC
Updated:
26 Dec 2008 at 05:21 UTC
When Search 404 version 6.x.1.1 performs an action on my website there are "debug messages" showed on the site: "Inside Else1"
Example: http://jordi.bufi.es/proyectos
Comments
Comment #1
davedelong commentedRemoving the drupal_set_message() on line 128 of search404.module will get rid of it. Whoops...
Comment #2
.............................................. commentedi have the same problem running it on 6.3, but you cannot just delete those lines, that will cause parsing errors. I prefer some proper fix. Is it possible to change it from the .message .status class to a more specific class, which i can set to display:none via css?
i am not much of a programmer so i always use work-arounds.
Comment #3
davedelong commentedYou don't delete the entire line; you just delete the call to drupal_set_message(). This makes the line become:
if (isset($results) && is_array($results) && count($results) > 0) {Comment #4
davedelong commented[Snip] sorry for the double post
Comment #5
.............................................. commentedthanks for the explanation. It is working indeed.
Comment #6
Jordi Bufí commentedUnassigned to me :P
Comment #7
toemaz commentedRemoving
drupal_set_message('Inside Else1');at line 128 did the job.Comment #8
scottrigbyperfect - thanks ;)
Comment #9
zyxware commentedThis code has been removed from the latest dev release by incorporating the patch.
Comment #10
zyxware commented