Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kimbtech committed Dec 23, 2023
1 parent ad3d8f6 commit 5057aec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion php/classes/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private function addTypeToTable( int $tid, array $data ) : void{
$idd = $id + 1000 * $tid;
$this->table['items'][$idd] = $d;
$this->table['items'][$idd]['tid'] = $tid;
if( $id >= 999 ){ // only 999 per cat!!
if( $id >= 999 ){ // only 999 per type!!
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion php/classes/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function handleGet(string $uri) : void {
$this->out->addDir( 'No item found for this tID!', Config::RADIO_DOMAIN . '?go=initial');
}
}
// list of categories (startpage)
// list of types (startpage)
else{
// add local types
foreach( $this->data->getTypes() as $tid => $name ){
Expand Down

0 comments on commit 5057aec

Please sign in to comment.