Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > 61537fb87f9994db809cbef942a6512b > files > 13

webmin-1.930-1.mga7.src.rpm

--- webmin-1.670/index.cgi.orig	2013-08-13 13:05:24.327301552 -0400
+++ webmin-1.670/index.cgi	2013-08-13 13:07:28.827774391 -0400
@@ -185,7 +185,7 @@ else {
 # Check for incorrect OS
 if (&foreign_check("webmin")) {
 	&foreign_require("webmin", "webmin-lib.pl");
-	&webmin::show_webmin_notifications();
+	&webmin::show_webmin_notifications(1);
 	}
 
 if ($miniserv{'logout'} &&
--- webmin-1.840/web-lib-funcs.pl.orig	2017-05-19 18:20:48.347659004 -0400
+++ webmin-1.840/web-lib-funcs.pl	2017-05-19 18:20:59.142626024 -0400
@@ -10470,7 +10470,7 @@ foreach my $m (&get_all_module_infos())
 if (&foreign_available("webmin")) {
 	# Merge in old-style notification API
 	&foreign_require("webmin");
-	foreach my $n (&webmin::get_webmin_notifications()) {
+	foreach my $n (&webmin::get_webmin_notifications(1)) {
 		push(@rv, { 'type' => 'warning',
 			    'id' => 'notifications',
 			    'level' => 'warn',