Replace break with return for PHP7 compatibility.

This commit is contained in:
strasharo 2016-09-02 10:23:35 +03:00 committed by GitHub
parent cb7eb2c9e5
commit bba4dbe590
1 changed files with 2 additions and 2 deletions

View File

@ -3637,12 +3637,12 @@ fclose(\$pwlog);
if ( (strlen(\$key1) < 8) ) {
echo \"<script type=\\\"text/javascript\\\">alert(\\\"$DIALOG_WEB_LENGHT_MIN\\\");window.history.back()</script>\";
break;
return;
}
if ( (strlen(\$key1) > 63) ) {
echo \"<script type=\\\"text/javascript\\\">alert(\\\"$DIALOG_WEB_LENGHT_MAX\\\");window.history.back()</script>\";
break;
return;
}