From d71ef8a35787bce195db69e2e70e74032e6aa1d5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 17 Apr 2018 13:30:43 +0200 Subject: show warning on stopped slave --- lib/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mysql.php') diff --git a/lib/mysql.php b/lib/mysql.php index 94d35b8..d595d64 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -22,6 +22,6 @@ function show_warning_on_offline_slave() { $result = mysql_run_query("SHOW STATUS LIKE \"Slave_running\""); if (($result -> num_rows == 0) || ($result -> fetch_assoc() ["Value"] != "ON")) { - print "
The replication slave is currently not running. The database might be outdated.
"; + print "
The replication slave is currently not running. The database might be outdated.
\n"; } } -- cgit v1.2.3