Changed:
- cannot have type-hints :-(
This commit is contained in:
parent
94a594eeb2
commit
cd3b01fd82
2 changed files with 2 additions and 2 deletions
|
@ -223,7 +223,7 @@ class DBA
|
|||
* @return boolean Are there rows for that condition?
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function exists(string $table, array $condition): bool
|
||||
public static function exists($table, array $condition): bool
|
||||
{
|
||||
return DI::dba()->exists($table, $condition);
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ if (!empty($_REQUEST['scheme'])) {
|
|||
$scheme = $_REQUEST['scheme'];
|
||||
}
|
||||
|
||||
$scheme = Strings::sanitizeFilePathItem($scheme);
|
||||
$scheme = Strings::sanitizeFilePathItem($scheme ?? '');
|
||||
|
||||
if (($scheme) && ($scheme != '---')) {
|
||||
if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {
|
||||
|
|
Loading…
Reference in a new issue