mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-05-15 12:38:24 -04:00
ALPHA 3.0.2a
This commit is contained in:
+2
-2
@@ -42,10 +42,10 @@ class ProcessUtils
|
||||
public static function validateInput($caller, $input)
|
||||
{
|
||||
if (null !== $input) {
|
||||
if (is_resource($input)) {
|
||||
if (\is_resource($input)) {
|
||||
return $input;
|
||||
}
|
||||
if (is_string($input)) {
|
||||
if (\is_string($input)) {
|
||||
return $input;
|
||||
}
|
||||
if (is_scalar($input)) {
|
||||
|
||||
Reference in New Issue
Block a user