Fixed parser errors

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2018-07-04 00:07:53 +02:00
parent 49422583cc
commit ac46a91a2c
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
3 changed files with 3 additions and 5 deletions

View file

@ -40,7 +40,6 @@ function fromgplus_uninstall() {
} }
function fromgplus_addon_settings(App $a, $s) { function fromgplus_addon_settings(App $a, $s) {
if(! local_user()) if(! local_user())
return; return;
@ -302,7 +301,7 @@ function fromgplus_cleanupgoogleproxy($fullImage, $image) {
$cleaned["full"] = $fullImage; $cleaned["full"] = $fullImage;
} }
if ($cleaned["full"] == "" && exif_imagetype($image) != 0) if ($cleaned["full"] == "" && exif_imagetype($image) != 0) {
$cleaned["full"] = $image; $cleaned["full"] = $image;
} }

View file

@ -27,12 +27,11 @@ function googlemaps_uninstall()
function googlemaps_location(App $a, array &$item) function googlemaps_location(App $a, array &$item)
{ {
if (! (strlen($item['location']) || strlen($item['coord']))) { if (! (strlen($item['location']) || strlen($item['coord']))) {
return; return;
} }
if (isset($item['coord']) { if (isset($item['coord'])) {
$target = "http://maps.google.com/?q=".urlencode($item['coord']); $target = "http://maps.google.com/?q=".urlencode($item['coord']);
} else { } else {
$target = "http://maps.google.com/?q=".urlencode($item['location']); $target = "http://maps.google.com/?q=".urlencode($item['location']);

View file

@ -29,7 +29,7 @@ function smileybutton_uninstall() {
function show_button(App $a, &$b) { function show_button(App $a, &$b) {
// Disable if theme is quattro // Disable if theme is quattro
// TODO add style for quattro // TODO add style for quattro
if ($a->getCurrentTheme() == 'quattro') if ($a->getCurrentTheme() == 'quattro') {
return; return;
} }