diff --git a/html/StupidIABattleship.php b/html/StupidIABattleship.php
index f9c5c4d..c28ee9d 100644
--- a/html/StupidIABattleship.php
+++ b/html/StupidIABattleship.php
@@ -208,7 +208,7 @@ switch($_POST['act']){
break;
case "fight":
//for debog arena
- file_put_contents(__DIR__."log.txt",print_r($_POST));
+ file_put_contents(__DIR__."log.txt",var_export($_POST));
// if((is_int(settype($_POST['width'],"integer"))) && (is_int(settype($_POST['height'],"integer")))){