projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80cc7d2
)
Removes misplaced visibility.
author
Stéphane Jacob
<sj@m4x.org>
Tue, 18 Oct 2011 08:53:50 +0000
(10:53 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Tue, 18 Oct 2011 08:54:02 +0000
(10:54 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile/page.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/profile/page.inc.php
b/modules/profile/page.inc.php
index
02f3316
..
f9e93a4
100644
(file)
--- a/
modules/profile/page.inc.php
+++ b/
modules/profile/page.inc.php
@@
-108,7
+108,7
@@
class ProfileSettingPhones implements ProfileSetting
$phones = array();
if (is_null($value)) {
- $it = Phone::iterate(array($page->pid()), array(Phone::LINK_PROFILE), array(0)
, Visibility::defaultForEdit()
);
+ $it = Phone::iterate(array($page->pid()), array(Phone::LINK_PROFILE), array(0));
while ($phone = $it->next()) {
$success = ($phone->format() && $success);
$phones[] = $phone->toFormArray();