Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.0.1
-
Fix Version/s: 3.4.2
-
Component/s: None
-
Labels:None
Description
The Notice that appears is as follows:
Notice: Undefined offset: 1 in CRM_Utils_String::stripAlternatives() (line 443 of /vpfa-dev/fa-drupal7/president/sites/all/modules/civicrm/CRM/Utils/String.php).
I was able to resolve the issue by using isset. The patched function is included as a file beginning on line 442. There are most likely superior ways of handling this and I am keen to see them if so.
Thanks again for the great product.
if (isset($matches[1])) {
if ( trim( strip_tags( $matches[1] ) ) != '' )
}
else
}