Fix broken parenthesis
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 24 Nov 2023 18:59:00 +0000 (18:59 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 24 Nov 2023 18:59:00 +0000 (18:59 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14999 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index 55a0f8a3f841307a7ac6cc3d208ed5f1269fe506..dfb4b6b53579640f38e50479ae3b36e7ceb91fb0 100755 (executable)
@@ -117,7 +117,7 @@ function sqimap_toggle_flag($imap_stream, $id, $flag, $set, $handle_errors) {
     // some broken IMAP servers do not return UID elements on UID STORE
     // if this is the case, then we need to do a UID FETCH
     if (!empty($parseFetchResults)
-     && !isset($parseFetchResults)['UID']) {
+     && !isset($parseFetchResults['UID'])) {
         $aResponse = sqimap_run_command_list($imap_stream, "FETCH $msgs_id (FLAGS)", $handle_errors, $response, $message, TRUE);
         $parseFetchResults = parseFetch($aResponse,$aMessageList);
     }