Skip to content

Commit 6007242

Browse files
committed
cosmetics
1 parent 215a108 commit 6007242

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

class/LanguageHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function loadConfig()
4545
*/
4646
public function get($id, $isBase = true)
4747
{
48+
$array = [];
4849
$lang = null;
4950
$id = (int)$id;
5051
if (!$id) {

include/onupdate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function tableExists($tablename)
3333
{
3434
$result = $GLOBALS['xoopsDB']->queryF("SHOW TABLES LIKE '$tablename'");
3535

36-
return ($GLOBALS['xoopsDB']->getRowsNum($result) > 0) ? true : false;
36+
return $GLOBALS['xoopsDB']->getRowsNum($result) > 0;
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)