Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2009 at 15:16 UTC
Updated:
31 Aug 2009 at 10:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
robertdouglass commented+ watchdog('Apache Solr', nl2br(check_plain($e->getMessage())), NULL, WATCHDOG_ERROR);
you only want to use nl2br when doing drupal_set_message, not for watchdog.
There's a spelling error (iff -> if)
Comment #2
drunken monkeyThanks for the tip, corrected that.
Althoug it is worth mentioning that I only copied that from the apachesolr_requirements() function. The same code is also used at many other places in the module:
It's not an error, "iff" is a (as far as I know rather common) short form of "if, and only if". But if it isn't as well-known as I thought, we can of course leave it out. In that case, use the second patch.
Comment #3
robertdouglass commentedOh, I didn't know that! iff
Comment #4
robertdouglass commentedCommitted, thanks.