mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
Fix for xml condition tag - when no "var" attribute existed, functions were not evaluated (e.g. "curdate").
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ef059ba669
commit
3928e8ec37
2 changed files with 30 additions and 11 deletions
|
|
@ -385,4 +385,13 @@
|
|||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
function test_getExpiredSession_curdate(){
|
||||
$xml_file = _XE_PATH_ . "modules/session/queries/getExpiredSessions.xml";
|
||||
$argsString = '';
|
||||
$expected = 'select "session_key"
|
||||
from "xe_session" as "session"
|
||||
where "expired" <= ' . date("YmdHis");
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue