nextcloud/lib
Lukas Reschke f0ac8a278a Use json_encode on string
It's better to encode the string to prevent possible (yet unknown) bugs in combination with PHP's type juggling.

Previously the boolean statements evaluated to either an empty string (false) or a not empty one (true, then it was 1). Not it always evaluates to false or true.

This also removes a stray - that was not intended there but shouldn't have produced any bugs. Just to increase readability.

Thanks @nickvergessen for spotting.

Addresses https://github.com/owncloud/core/pull/13235/files#r22852319
2015-01-13 11:08:18 +01:00
..
l10n [tx-robot] updated from transifex 2015-01-12 01:55:52 -05:00
private Use json_encode on string 2015-01-13 11:08:18 +01:00
public Merge pull request #12988 from owncloud/logfile_download 2015-01-09 00:33:22 +01:00
repair allow css/js asset directory to be relocated (#13053) 2015-01-05 15:24:23 -08:00
autoloader.php use Composer autoloader not OC for non-Composer 3rdparty (#9643) 2014-10-28 11:32:20 +01:00
base.php move search results below filelist, show hint when results are off screen, use js plugin mechanism 2015-01-02 10:28:41 +01:00