diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/header.php | 2 | ||||
-rw-r--r-- | includes/maps.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/header.php b/includes/header.php index a9d3538..3943238 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,6 +1,6 @@ <?php
-function htmlHeader($css) {
+function htmlHeader($css = array()) {
?>
<!DOCTYPE html>
<html xml:lang="en" lang="en">
diff --git a/includes/maps.php b/includes/maps.php index 901a946..ef1d6e0 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -389,7 +389,7 @@ function GenerateShapedMap($shape, $params) { else
$teleports = 0;
- if ($params['walls'])
+ if (is_int($params['walls']))
$walls = $params['walls'];
else
$walls = 13;
|