Fixes error that arises when attempting to use the
FindID feature. Here is the error text (that goes away
after applying this patch):
Notice: Array to string conversion in
/usr/local/www/data-dist/fh/includes/functions_name.php
on line 730
Notice: Array to string conversion in
/usr/local/www/data-dist/fh/includes/functions_name.php
on line 738
System details:
PhpGedView 3.3.3
Last Sync with main branch: February 09, 2005 09:33:58 AM
=====================++++========================
PHP Version 5.0.3
System FreeBSD 4.10-RELEASE: i386
This patch is applied by copying
'patch_functions_name.php' to the ./includes/ directory
and typing the following from within that directory:
#> patch functions_name.php patch_functions_name.php
patch for functions_name.php to fix FindID array to string problem
Logged In: YES
user_id=1143947
For those not on a Linux machine, here is the bug report
with complete file included:
http://sourceforge.net/tracker/index.php?func=detail&aid=1197371&group_id=55456&atid=477079
Regards,
RolandD
Logged In: YES
user_id=1143947
Not sure how to do this for the linux people but another
patch is changing the functions_index.php (not
functions_name.php) file:
Line 528-529 look like:
$query = str2upper($query);
if (!is_array($query)) $query = array($query);
should be replaced by:
if (!is_array($query)) {
$query = str2upper($query);
$query = array($query);
}
Regards,
RolandD
Logged In: YES
user_id=300048
Applied to CVS for the next release.
--John
Logged In: YES
user_id=300048
included in v3.3.3