projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 8557 - Unexpected behavior with scanners
[koha.git]
/
mainpage.pl
diff --git
a/mainpage.pl
b/mainpage.pl
index
f834985
..
78daf38
100755
(executable)
--- a/
mainpage.pl
+++ b/
mainpage.pl
@@
-60,4
+60,11
@@
$template->param(
pendingsuggestions => $pendingsuggestions
);
+#
+# warn user if he is using mysql/admin login
+#
+unless ($loggedinuser) {
+ $template->param(adminWarning => 1);
+}
+
output_html_with_http_headers $query, $cookie, $template->output;