Skip to content

Commit 69ea8d9

Browse files
committed
Merge pull request #2038 from stambetto/development
Minor fixes
2 parents 3541d05 + da40fd7 commit 69ea8d9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

public/include/classes/monitoring.class.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ public function getStatus($name) {
7070
if ($query && $query->bind_param('s', $name) && $query->execute() && $result = $query->get_result()) {
7171
return $result->fetch_assoc();
7272
} else {
73-
$this->sqlError();
73+
return $this->sqlError();
7474
}
75-
return $value;
7675
}
7776

7877
/**

public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function cfip() { return (@defined('SECURITY')) ? 1 : 0; }
4646
// Rate limiting
4747
if ($config['memcache']['enabled'] && $config['mc_antidos']['enabled']) {
4848
if (PHP_OS == 'WINNT') {
49-
require_once(CLASS_DIR . 'memcached.class.php');
49+
require_once(CLASS_DIR . '/memcached.class.php');
5050
}
5151
// memcache antidos needs a memcache handle
5252
$memcache = new Memcached();

public/site_assets/mpos/css/layout.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ padding: 0;
1111
font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
1212
background: #F8F8F8;
1313
font-size: 12px;
14+
min-width: 1323px;
15+
/* Allows resizing without distortion of graphs and the like, some older browsers will ingnore this */
1416
}
1517

1618
.clear {

0 commit comments

Comments
 (0)