mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-25 17:08:13 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
d8448c3540
@ -19086,3 +19086,6 @@
|
|||||||
containing an invalid UTF-8 character.
|
containing an invalid UTF-8 character.
|
||||||
2019-09-02 Patrick Linstruth <patrick@deltecent.com>
|
2019-09-02 Patrick Linstruth <patrick@deltecent.com>
|
||||||
* Refactored 'pypad_tunein.py' ProcessPad while loop.
|
* Refactored 'pypad_tunein.py' ProcessPad while loop.
|
||||||
|
2019-09-03 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in 'RDCart::setYear()' that caused invalid SQL to be
|
||||||
|
generated when given a null year.
|
||||||
|
@ -253,7 +253,12 @@ int RDCart::year() const
|
|||||||
|
|
||||||
void RDCart::setYear(int year)
|
void RDCart::setYear(int year)
|
||||||
{
|
{
|
||||||
SetRow("YEAR",QString().sprintf("%04d-01-01",year));
|
if((year>0)&&(year<10000)) {
|
||||||
|
SetRow("YEAR",QString().sprintf("%04d-01-01",year));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
SetRow("YEAR");
|
||||||
|
}
|
||||||
metadata_changed=true;
|
metadata_changed=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user