mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
added missing spaces/curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
9cb100228a
commit
15c77beee2
4 changed files with 316 additions and 237 deletions
|
@ -148,7 +148,7 @@ function update_1014() {
|
|||
if (dbm::is_result($r)) {
|
||||
foreach ($r as $rr) {
|
||||
$ph = new Photo($rr['data']);
|
||||
if($ph->is_valid()) {
|
||||
if ($ph->is_valid()) {
|
||||
$ph->scaleImage(48);
|
||||
$ph->store($rr['uid'],$rr['contact-id'],$rr['resource-id'],$rr['filename'],$rr['album'],6,(($rr['profile']) ? 1 : 0));
|
||||
}
|
||||
|
@ -1756,7 +1756,7 @@ function update_1190() {
|
|||
$plugins = get_config('system','addon');
|
||||
$plugins_arr = array();
|
||||
|
||||
if($plugins) {
|
||||
if ($plugins) {
|
||||
$plugins_arr = explode(",",str_replace(" ", "",$plugins));
|
||||
|
||||
$idx = array_search($plugin, $plugins_arr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue