- cannot have type-hints :-(
* @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);
}
$scheme = $_REQUEST['scheme'];
}
-$scheme = Strings::sanitizeFilePathItem($scheme);
+$scheme = Strings::sanitizeFilePathItem($scheme ?? '');
if (($scheme) && ($scheme != '---')) {
if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {