Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
Fixed #14
Browse files Browse the repository at this point in the history
  • Loading branch information
kimbtech committed Mar 2, 2019
1 parent a3c5669 commit f900809
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion system/php/func.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
define('GET', 345635745);
define('POST', 367567868);
function check_params( $type, $schema, $diemsg = null ){
//erstmal alles ok
$return = true;

//zu überprüfenden Datensatz holen
if( $type == GET ){
Expand Down Expand Up @@ -86,7 +88,7 @@ function check_params( $type, $schema, $diemsg = null ){
// also Unterarray prüfen!
if( is_array( $f_type ) ){
//machen
if( check_params( $data[$f_name], $f_type, $errormsg ) ){
if( check_params( $data[$f_name], $f_type, $diemsg ) ){
//okay -> Daten merken
$data_checked[$f_name] = $data[$f_name];
}
Expand Down
2 changes: 1 addition & 1 deletion system/php/systemInit.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ abstract class SystemInit{

//Sytemversion
// [ Hauptversionsnummer, Unternummer, Patch, Zusatz (Alpha, Beta, Final) ] => [1, 23, 5, 'B'] -> 1.23.5 Beta
const SYSTEMVERSION = [ 1, 0, 1, 'Final' ];
const SYSTEMVERSION = [ 1, 0, 2, 'Final' ];

/*
Auslesen der Konfiguration
Expand Down
2 changes: 2 additions & 0 deletions system/rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
//hier muss UserID nicht gegeben sein!
$ok = true;
}

unset( $userlist );

//Authentification ok?
if( $ok ){
Expand Down

0 comments on commit f900809

Please sign in to comment.