Bugfix briefpapier freitexte width

This commit is contained in:
OpenXE 2023-03-26 13:26:49 +02:00
parent 791a12b731
commit 49dfd255e4

View File

@ -1800,9 +1800,16 @@ class Briefpapier extends SuperFPDF {
} }
private function getStyleElement($key){ private function getStyleElement($key){
if(isset($this->styleData[$key]) && !empty($this->styleData[$key])) return $this->styleData[$key]; $result = null;
if(isset($this->styleData[$key]) && !empty($this->styleData[$key])) {
return $this->app->erp->Firmendaten($key); $result = $this->styleData[$key];
} else {
$result = $this->app->erp->Firmendaten($key);
}
if (empty($result)) {
$result = 0;
}
return($result);
} }
public function renderDocument() { public function renderDocument() {