nextcloud/apps
Joas Schilling 3fe6b5b5f8 Fix numeric folders throwing on markDirty
TypeError: strpos() expects parameter 1 to be string, int given

The problem is that in cacheNode() we strip of any slashes, so
a folder "0/" will be trimmed to "0" and be used as an array key.
Since PHP automatically casts numeric array keys to integers,
you afterwards get $nodePath as int(0). Since it's now a number,
the strpos() function does not accept it anymore. Simply casting
$nodePath to a string again in the foreach solves the issue

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-25 13:14:58 +00:00
..
accessibility [tx-robot] updated from transifex 2020-09-24 02:17:59 +00:00
admin_audit Update license headers for 19 2020-04-29 11:57:22 +02:00
cloud_federation_api Update license headers for 19 2020-04-29 11:57:22 +02:00
comments [tx-robot] updated from transifex 2020-08-25 02:17:52 +00:00
contactsinteraction Fix writing BLOBs to postgres with recent contacts interaction 2020-08-31 13:09:40 +00:00
dav Fix numeric folders throwing on markDirty 2020-09-25 13:14:58 +00:00
encryption [tx-robot] updated from transifex 2020-09-15 10:48:39 +00:00
federatedfilesharing [tx-robot] updated from transifex 2020-09-20 02:17:17 +00:00
federation [tx-robot] updated from transifex 2020-09-18 02:17:08 +00:00
files [tx-robot] updated from transifex 2020-09-24 02:17:59 +00:00
files_external [tx-robot] updated from transifex 2020-09-23 02:18:00 +00:00
files_sharing [tx-robot] updated from transifex 2020-09-24 02:17:59 +00:00
files_trashbin [tx-robot] updated from transifex 2020-09-18 02:17:08 +00:00
files_versions [tx-robot] updated from transifex 2020-08-13 02:16:48 +00:00
lookup_server_connector Update license headers for 19 2020-04-29 11:57:22 +02:00
oauth2 [tx-robot] updated from transifex 2020-09-01 02:16:18 +00:00
provisioning_api Fix languages empty array 2020-05-08 09:25:59 +00:00
settings [tx-robot] updated from transifex 2020-09-25 02:18:59 +00:00
sharebymail [tx-robot] updated from transifex 2020-08-25 02:17:52 +00:00
systemtags [tx-robot] updated from transifex 2020-09-21 02:17:33 +00:00
testing Update license headers for 19 2020-04-29 11:57:22 +02:00
theming [tx-robot] updated from transifex 2020-09-25 02:18:59 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2020-09-15 10:48:39 +00:00
updatenotification [tx-robot] updated from transifex 2020-09-25 02:18:59 +00:00
user_ldap [tx-robot] updated from transifex 2020-09-21 02:17:33 +00:00
workflowengine [tx-robot] updated from transifex 2020-09-24 02:17:59 +00:00