attempt to solve PHP Notice: Undefined variable: truncated in /var/www/html/boot...
Thierry Parmentelat [Fri, 9 Jan 2009 22:12:05 +0000 (22:12 +0000)]
boot/upload-bmlog.php

index 0eecc87..6c7934b 100755 (executable)
@@ -71,7 +71,7 @@ $contents = fread($uploaded, $uploaded_size);
 fclose($uploaded);
 fwrite($log,$contents);
 if ($truncated)
-  fwrite ($log, " ..<truncated>..\n");
+  fwrite ($log, " ..<" . "truncated" . ">..\n");
 fclose($log);
 
 ////////////////////////////////////////