nextcloud/apps
Joas Schilling 6db5f53bc6
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-24 15:02:30 +02:00
..
accessibility [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
admin_audit [tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
cloud_federation_api [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
comments Bump versions 2020-09-18 09:16:45 +02:00
contactsinteraction [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
dashboard [tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
dav Fix numeric folders throwing on markDirty 2020-09-24 15:02:30 +02:00
encryption Bump versions 2020-09-18 09:16:45 +02:00
federatedfilesharing [tx-robot] updated from transifex 2020-09-20 02:17:05 +00:00
federation Bump versions 2020-09-18 09:16:45 +02:00
files [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
files_external [tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
files_sharing [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
files_trashbin Delete files that exceed trashbin size immediately 2020-09-23 16:58:18 +02:00
files_versions Bump versions 2020-09-18 09:16:45 +02:00
lookup_server_connector [tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
oauth2 Bump versions 2020-09-18 09:16:45 +02:00
provisioning_api [tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
settings Merge pull request #23014 from nextcloud/fix/22977/reasons-to-use-translation 2020-09-24 09:24:17 +02:00
sharebymail Bump versions 2020-09-18 09:16:45 +02:00
systemtags [tx-robot] updated from transifex 2020-09-21 02:17:24 +00:00
testing Bump versions 2020-09-18 09:16:45 +02:00
theming Fix tests 2020-09-24 08:22:07 +02:00
twofactor_backupcodes Bump versions 2020-09-18 09:16:45 +02:00
updatenotification Bump versions 2020-09-18 09:16:45 +02:00
user_ldap [tx-robot] updated from transifex 2020-09-21 02:17:24 +00:00
user_status [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
weather_status [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
workflowengine [tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00