function _support_state_secondary in Support Ticketing System 6
Same name and namespace in other branches
- 7 support.module \_support_state_secondary()
Return secondary sid.
File
- ./
support.module, line 2621 - support.module
Code
function _support_state_secondary() {
static $secondary = NULL;
if (!$secondary) {
$secondary = db_result(db_query_range('SELECT sid FROM {support_states} WHERE phase2 = 1 ORDER BY weight ASC', 0, 1));
}
return $secondary;
}