Revision 7eb723db
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Controller/SalesPurchase.pm | ||
---|---|---|
);
|
||
# we are modifying a existing daily booking - allow this if
|
||
# booking conditions are not super strict
|
||
undef $exists_ap if ($::instance_conf->get_ap_changeable != 0
|
||
undef $exists_ap if ($exists_ap
|
||
&& $::instance_conf->get_ap_changeable != 0
|
||
&& $exists_ap->gldate == DateTime->today_local);
|
||
|
||
|
||
$_[0]->render(\ !!$exists_ap, { type => 'text' });
|
||
}
|
||
|
Auch abrufbar als: Unified diff
S:C:SalesPurchase: keine Methode auf undefiniertem Wert aufrufen
Der Fehler tauchte an der Oberfläche dann zwar nicht auf, weil es
ein ajax-Aufruf ist.