projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fiscal Year delete . now removes all transactions and convert into relevant open...
[fa-stable.git]
/
includes
/
errors.inc
diff --git
a/includes/errors.inc
b/includes/errors.inc
index 1a39f1637ce3bffef74fbc61c28e42582ad843f8..1c0f2f97e9108209678d7bd4380afb9c420356f8 100644
(file)
--- a/
includes/errors.inc
+++ b/
includes/errors.inc
@@
-38,7
+38,7
@@
function fmt_errors($center=false) {
$type = E_USER_NOTICE;
$content = '';
$type = E_USER_NOTICE;
$content = '';
- $class = 'no_msg';
+
//
$class = 'no_msg';
if (count($messages)) {
foreach($messages as $cnt=>$msg) {
if ($msg[0]>$type) continue;
if (count($messages)) {
foreach($messages as $cnt=>$msg) {
if ($msg[0]>$type) continue;
@@
-59,11
+59,10
@@
function fmt_errors($center=false) {
$content .= ($cnt ? '<hr>' : '').$str;
}
$class = $msg_class[$type];
$content .= ($cnt ? '<hr>' : '').$str;
}
$class = $msg_class[$type];
+ $content = "<div class='$class'>$content</div>";
} else
} else
- if ($path_to_root=='.')
- return '';
-
- $content = "<div class='$class'>$content</div>";
+ if ($path_to_root=='.')
+ return '';
return $content;
}
//-----------------------------------------------------------------------------
return $content;
}
//-----------------------------------------------------------------------------