mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-16 08:34:12 +02:00
Set sched_code to same value/case as in SCHED_CODES.CODE
This commit is contained in:
parent
f6fa420cfd
commit
20e6b3a72c
@ -27,6 +27,14 @@
|
|||||||
RDSchedCode::RDSchedCode(const QString &code)
|
RDSchedCode::RDSchedCode(const QString &code)
|
||||||
{
|
{
|
||||||
sched_code=code;
|
sched_code=code;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Get proper case for code
|
||||||
|
//
|
||||||
|
if(exists()) {
|
||||||
|
sched_code=RDGetSqlValue("SCHED_CODES","CODE",code,"CODE").
|
||||||
|
toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user