1
0
mirror of https://github.com/moparisthebest/mail synced 2025-02-16 15:10:10 -05:00

just return instead of return null

This commit is contained in:
Tankred Hase 2013-08-23 11:04:22 +02:00
parent 1fe7c3ce82
commit d944c00aa8

View File

@ -240,11 +240,11 @@ define(function(require) {
// check if account has a folders attribute
if (!self._account.folders) {
return null;
return;
}
// check folder
if (!self._account.folders[folderName]) {
return null;
return;
}
return self._account.folders[folderName][itemId];