friendica/src/Model
Roland Häder a41e49c84a Fixes for E_NOTICE in mod/item.php (#5393)
* Fixes applied:
- `if (is_array($some_array))` is better code style than `if ($some_array)` as
  the `if()` block really needs an array to be found
- same with `if ($some_id)`, maybe `if ($some_id > 0)` is a more proper check
- added missing field 'emailcc' to Item::ITEM_FIELDLIST

Signed-off-by: Roland Häder <roland@mxchange.org>

* Fixes E_NOTICE of missing variable (PHP's lazyness again).

Signed-off-by: Roland Häder <roland@mxchange.org>

* Use !empty() to avoid accessing empty array.

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-17 18:18:42 -04:00
..
Contact.php Several more warnings ... (#5340) 2018-07-10 08:27:56 -04:00
Conversation.php Fix more undefined variable/index notice in tests 2018-07-02 07:45:25 -04:00
Event.php moved get_guid to System::createGUID 2018-07-09 21:38:16 +02:00
GContact.php workaround for stalling worker processes when running the daemon 2018-07-11 06:05:22 +00:00
Group.php [frio] Improve Group Editing (#5349) 2018-07-09 18:36:50 -04:00
Item.php Fixes for E_NOTICE in mod/item.php (#5393) 2018-07-17 18:18:42 -04:00
ItemContent.php Next item structure works (#5380) 2018-07-15 14:36:20 -04:00
Mail.php moved get_guid to System::createGUID 2018-07-09 21:38:16 +02:00
OpenWebAuthToken.php port hubzillas OpenWebAuth - fix wrong table name + fix wrong method name 2018-06-20 20:11:26 +02:00
Photo.php moved get_guid to System::createGUID 2018-07-09 21:38:16 +02:00
Process.php Remove references to include/datetime 2018-02-03 20:47:37 -05:00
Profile.php Rework smilies class and module 2018-07-15 08:03:12 -04:00
PushSubscriber.php End subscription for unreachable subscribers 2018-05-19 03:56:29 +00:00
Queue.php Forgotten "+" 2018-02-08 19:47:47 +00:00
Term.php Use already fetched data for magiclink 2018-07-02 05:41:55 +00:00
User.php added forgotten trim 2018-07-06 15:49:27 +02:00