mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Merge branch 'master' into feature/Anrechnungen_NEU
This commit is contained in:
@@ -373,7 +373,7 @@ class coodle extends basis_db
|
||||
WHERE
|
||||
(uid =".$this->db_add_param($uid, FHC_STRING, false)."
|
||||
OR ersteller_uid =".$this->db_add_param($uid, FHC_STRING, false).")
|
||||
AND endedatum >= CURRENT_DATE - interval '20 days';";
|
||||
AND endedatum >= CURRENT_DATE - interval '90 days';";
|
||||
|
||||
if(!$this->db_query($qry))
|
||||
{
|
||||
|
||||
@@ -164,7 +164,7 @@ class konto extends basis_db
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!is_numeric($this->mahnspanne))
|
||||
if($this->mahnspanne!='' && !is_numeric($this->mahnspanne))
|
||||
{
|
||||
$this->errormsg = "Die Mahnspanne muss eine gueltige Zahl sein";
|
||||
return false;
|
||||
|
||||
@@ -276,7 +276,7 @@ class person extends basis_db
|
||||
$erg += $gewichtung[$i] * $this->svnr{$i};
|
||||
}
|
||||
|
||||
if ($this->svnr{3} != ($erg % 11)) //Vergleichen der Pruefziffer mit Quersumme Modulo 11
|
||||
if ($this->svnr[3] != ($erg % 11)) //Vergleichen der Pruefziffer mit Quersumme Modulo 11
|
||||
{
|
||||
$this->errormsg = 'SVNR ist ungueltig';
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user