Permalink
Browse files

Incorrect filtering of messages

  • Loading branch information...
1 parent 2a76e4a commit e84ded516c7643ba30c8263fa18a179a63b9ee71 @jordifreek committed Dec 7, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 phpbuglost.php
  2. +1 −1 phpbuglost_lite.php
View
@@ -580,7 +580,7 @@ function bl_format_time($time)
function bl_msg($msg, $file, $line, $type = 'user')
{
// don't fill memory if we don't need it later
- if (strpos(_bl_messages_types, $type) == false) {
+ if (strpos(_bl_messages_types, $type) == false and _bl_messages_types != 'all') {
return false;
}
View
@@ -376,7 +376,7 @@ function bl_format_time($time, $dec = 4)
function bl_msg($msg, $file, $line, $type = 'user')
{
// don't fill memory if we don't need it later
- if (strpos(_BL_MESSAGES_TYPES, $type) == false) {
+ if (strpos(_BL_MESSAGES_TYPES, $type) == false and _BL_MESSAGES_TYPES != 'all') {
return false;
}

0 comments on commit e84ded5

Please sign in to comment.