Summary | Variable conflict with sources example and _turba_export function |
Queue | Turba |
Queue Version | HEAD |
Type | Bug |
State | Duplicate |
Priority | 2. Medium |
Owners | |
Requester | hfw (at) beep (dot) fdns (dot) net |
Created | 10/30/2007 (6537 days ago) |
Due | |
Updated | 10/30/2007 (6537 days ago) |
Assigned | |
Resolved | 10/30/2007 (6537 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Sorry Jan, i didnt have any time until right now.
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Variable conflict with sources example and _turba_export function
Queue ⇒ Turba
I found that the sources.php.dist for "My Address Book"(personal_ldap),
have the variable $uid which conflicts with at least one function in
lib/api.php function "_turba_export",
where the same variable is used and mess-up after first line
require_once dirname(__FILE__) . '/base.php';
simple one line perl to rename the $uid in sources.php.dist to a more
unique name $source_uid
perl -pi -e 's/\$uid/\$source_uid/g' ./config/sources.php.dist
Regards,
Beppe