can delete Consent plan file / added empty page in Consentform.pdf

This commit is contained in:
Frank Schubert
2025-02-14 18:02:16 +01:00
parent 7575ef05fb
commit ee5b11773e
4 changed files with 36 additions and 20 deletions

View File

@@ -29,6 +29,8 @@ class Mapbox_StaticImageApi {
$pin_part .= "+$pin_color($pin_gps_long,$pin_gps_lat)";
}
$initial_path_count = 0;
$path_count = 0;
$path_parts = [];
if(is_array($paths) && count($paths)) {
$path_stroke_width = $paths["line_width"];
@@ -37,8 +39,8 @@ class Mapbox_StaticImageApi {
$path_fill_color = $paths["line_fill_color"];
$path_fill_opacity = $paths["line_fill_opacity"];
$path_count = 0;
$initial_path_count = 0;
foreach($paths["coords"] as $path) {
$initial_path_count++;
//mfLoghandler::singleton()->debug(print_r($paths, true));
@@ -101,7 +103,7 @@ class Mapbox_StaticImageApi {
}
}
if(is_array($url_opt_parts)) {
if(is_array($url_opt_parts) && count($url_opt_parts)) {
$url .= "/".implode(",", $url_opt_parts);
}