parameters now are having a default value and are optional
This commit is contained in:
parent
bc2694bf7f
commit
8c03bdada9
110 changed files with 1840 additions and 165 deletions
|
@ -14,7 +14,7 @@ function update_contact_content(App $a)
|
|||
echo "<section>";
|
||||
|
||||
if ($_GET["force"] == 1) {
|
||||
$text = Contact::content(true);
|
||||
$text = Contact::content([], true);
|
||||
} else {
|
||||
$text = '';
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ function update_profile_content(App $a) {
|
|||
* on the client side and then swap the image back.
|
||||
*/
|
||||
|
||||
$text = Profile::content($profile_uid);
|
||||
$text = Profile::content([], $profile_uid);
|
||||
|
||||
if (PConfig::get(local_user(), "system", "bandwidth_saver")) {
|
||||
$replace = "<br />".L10n::t("[Embedded content - reload page to view]")."<br />";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue