mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
Add unit tests for some legacy tests, too
This commit is contained in:
parent
f9ea115c19
commit
d325ef99bc
3 changed files with 236 additions and 3 deletions
|
|
@ -421,7 +421,7 @@ function getCurrentPageUrl($escape = true)
|
|||
*/
|
||||
function isSiteID($domain)
|
||||
{
|
||||
return preg_match('/^([a-zA-Z0-9\_]+)$/', $domain);
|
||||
return (bool)preg_match('/^([a-zA-Z0-9\_]+)$/', $domain);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue