projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8f622
)
Fixes phone deduplication.
author
Stéphane Jacob
<sj@m4x.org>
Fri, 10 Dec 2010 14:29:10 +0000
(15:29 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 10 Dec 2010 14:33:09 +0000
(15:33 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
upgrade/1.0.1/merge_issues.php
patch
|
blob
|
blame
|
history
diff --git
a/upgrade/1.0.1/merge_issues.php
b/upgrade/1.0.1/merge_issues.php
index
ac0c495
..
30f715a
100755
(executable)
--- a/
upgrade/1.0.1/merge_issues.php
+++ b/
upgrade/1.0.1/merge_issues.php
@@
-106,7
+106,7
@@
$phones = array();
$duplicates = array();
foreach ($pids as $pid) {
$count = 0;
- Phone::iterate(array($pid), array(Phone::LINK_PROFILE), array(0));
+
$it =
Phone::iterate(array($pid), array(Phone::LINK_PROFILE), array(0));
while ($item = $it->next()) {
$phones[] = $item;
++$count;