浏览代码

warning about possibly broken function

tokul 20 年之前
父节点
当前提交
2106d9b552
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      functions/imap_mailbox.php

+ 2 - 0
functions/imap_mailbox.php

@@ -142,6 +142,8 @@ function find_mailbox_name($line) {
 
 /**
  * Detects if mailbox has noselect flag (can't store messages)
+ * In versions older than 1.4.5 function checks only LSUB responses 
+ * and can produce pcre warnings. 
  * @param string $lsub_line mailbox line from untagged LIST or LSUB response
  * @return bool whether this is a Noselect mailbox.
  * @since 1.3.2