View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015496 | phpList 3 plugins | General | public | 27-05-10 19:49 | 06-02-19 11:35 |
Reporter | adrian15 | Assigned To | |||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0015496: Rssmanager processSuccesFailure incorrect rssitems array check | ||||
Description | Rssmanager processSuccesFailure function does an incorrect rssitems array check. The fact of the rssitems being empty or not was checked with the is_array function while when rssitems is empty an empty array is returned. In order to fix the problem I checked the actual number of items in the array with the sizeof function. | ||||
Additional Information | Based on svn revision 1703. | ||||
Tags | No tags attached. | ||||
child of | 0015498 | new | Rss manager is totally broken on svn |
27-05-10 19:49
|
G08_rssmanager_processSuccesFailure_rssitems_check_fix.patch (758 bytes)
diff -urN rssfixes_G07_rssmanager_sendemaillib_cache_fix/lists/admin/plugins/rssmanager.php rssfixes_G08_rssmanager_processSuccesFailure_rssitems_check_fix/lists/admin/plugins/rssmanager.php --- rssfixes_G07_rssmanager_sendemaillib_cache_fix/lists/admin/plugins/rssmanager.php 2010-05-17 07:58:56.000000000 +0200 +++ rssfixes_G08_rssmanager_processSuccesFailure_rssitems_check_fix/lists/admin/plugins/rssmanager.php 2010-05-17 09:06:00.000000000 +0200 @@ -309,7 +309,7 @@ if (!success) return true; $rssitems= rssmanager :: rssUserHasContent($userdata['id'], $messageid, $userdata['rssfrequency']); - if (!is_array($rssitems)) + if (!sizeof($rssitems)) return true; global $tables; foreach ($rssitems as $rssitemid) { |
Date Modified | Username | Field | Change |
---|---|---|---|
27-05-10 19:49 | adrian15 | New Issue | |
27-05-10 19:49 | adrian15 | File Added: G08_rssmanager_processSuccesFailure_rssitems_check_fix.patch | |
27-05-10 20:06 | h2b2 | Relationship added | child of 0015498 |
10-05-11 22:57 | michiel | Project | phpList 3 application => rssmanager |
06-02-19 11:35 |
|
Project | rssmanager => phpList 3 plugins |
06-02-19 11:35 |
|
Category | Plugin API => General |