Replace break with return for PHP7 compatibility.
This commit is contained in:
parent
cb7eb2c9e5
commit
bba4dbe590
4
fluxion
4
fluxion
|
@ -3637,12 +3637,12 @@ fclose(\$pwlog);
|
||||||
|
|
||||||
if ( (strlen(\$key1) < 8) ) {
|
if ( (strlen(\$key1) < 8) ) {
|
||||||
echo \"<script type=\\\"text/javascript\\\">alert(\\\"$DIALOG_WEB_LENGHT_MIN\\\");window.history.back()</script>\";
|
echo \"<script type=\\\"text/javascript\\\">alert(\\\"$DIALOG_WEB_LENGHT_MIN\\\");window.history.back()</script>\";
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( (strlen(\$key1) > 63) ) {
|
if ( (strlen(\$key1) > 63) ) {
|
||||||
echo \"<script type=\\\"text/javascript\\\">alert(\\\"$DIALOG_WEB_LENGHT_MAX\\\");window.history.back()</script>\";
|
echo \"<script type=\\\"text/javascript\\\">alert(\\\"$DIALOG_WEB_LENGHT_MAX\\\");window.history.back()</script>\";
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue