diff php/keygen.php @ 2511:177cbd750610

WIP for #158
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 24 Oct 2016 10:45:11 +0100
parents 8536e978ab6f
children 4cbd314e5d9f
line wrap: on
line diff
--- a/php/keygen.php	Mon Oct 24 10:39:20 2016 +0100
+++ b/php/keygen.php	Mon Oct 24 10:45:11 2016 +0100
@@ -30,6 +30,7 @@
     $fileHandle = fopen($filename, 'w');
     if ($fileHandle == FALSE) {
         echo $xml_error;
+        return;
     }
     fclose($fileHandle);
     // TODO: