PepperPig ende
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
$nr = $_GET["nr"];
|
||||
|
||||
$images = [
|
||||
"", // 0 Leer lassen
|
||||
"1-image", // 1
|
||||
"2-image",
|
||||
"3-image",
|
||||
@@ -30,8 +29,8 @@ $images = [
|
||||
"scheniiW",
|
||||
"packa"
|
||||
];
|
||||
if ($nr>-1 && $nr<sizeof($images)) {
|
||||
$errorImage = $images[$nr];
|
||||
if ($nr>0 && $nr<=sizeof($images)) {
|
||||
$errorImage = $images[$nr-1];
|
||||
}else {
|
||||
$errorImage = "pepperPig";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user