We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 215a108 commit 6007242Copy full SHA for 6007242
2 files changed
class/LanguageHandler.php
@@ -45,6 +45,7 @@ public function loadConfig()
45
*/
46
public function get($id, $isBase = true)
47
{
48
+ $array = [];
49
$lang = null;
50
$id = (int)$id;
51
if (!$id) {
include/onupdate.php
@@ -33,7 +33,7 @@ function tableExists($tablename)
33
34
$result = $GLOBALS['xoopsDB']->queryF("SHOW TABLES LIKE '$tablename'");
35
36
- return ($GLOBALS['xoopsDB']->getRowsNum($result) > 0) ? true : false;
+ return $GLOBALS['xoopsDB']->getRowsNum($result) > 0;
37
}
38
39
/**
0 commit comments