mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 14:33:28 +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)
|
||||
{
|
||||
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