friendica/src
Roland Häder c30ac30f29 Possible fix for #5470 - json_decode() (#5511)
* Possible fix for #5470:
- $data is not an object like stdClass but an array
- newer PHP versions doesn't allow cross-access like following:

  $object['foo'] = 123;
  $array->foo = 123;

- added type-hints for private methods for above cases
- used `if (empty($foo)) instead of just `if ($foo)` preventing some nasty
  E_NOTICE
- added some empty lines for better readability

* Rewrite:
- mixture of object/array was here, causing under newer PHP versions some E_NOTICE
- this has been now finally fixed by converting any `object` type to an
  associative `array`
- also changed `is_object()` to `is_array()`
2018-07-28 01:35:27 -04:00
..
Content Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
Core Continued: (#5508) 2018-07-26 22:27:28 -04:00
Database Postupdate is now working again (#5512) 2018-07-27 19:24:26 -04:00
Model Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
Module Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
Network Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
Object Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
Protocol Possible fix for #5470 - json_decode() (#5511) 2018-07-28 01:35:27 -04:00
Render Replace current_theme() and current_theme_url() calls 2018-04-28 18:37:25 -04:00
Util Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
Worker Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
App.php Issue 5467: Fix worker and daemon 2018-07-24 03:42:44 +00:00
BaseModule.php added hint about naming the class and filename 2018-04-03 16:33:39 +02:00
BaseObject.php Set BaseObject::setApp in App 2018-07-16 19:38:13 -04:00