[Pkg-owncloud-commits] [php-sabredav] 52/75: Showing int values in the browser plugin.
David Prévot
taffit at moszumanska.debian.org
Thu Feb 26 18:51:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 714edf958e0cd81ee2fb8c2be90aa2655556ae5d
Author: Evert Pot <me at evertpot.com>
Date: Mon Feb 23 13:36:36 2015 -0500
Showing int values in the browser plugin.
---
ChangeLog.md | 2 +-
lib/DAV/Browser/Plugin.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ChangeLog.md b/ChangeLog.md
index 5800b83..522f9d3 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -10,7 +10,7 @@ ChangeLog
* #611: Escaping a bit more HTML output in the browser plugin. (@LukasReschke)
* #610: Don't allow discovery of arbitrary files using `..` in the browser
plugin (@LukasReschke).
-
+* Browser plugin now shows quota properties.
2.1.2 (2014-12-10)
------------------
diff --git a/lib/DAV/Browser/Plugin.php b/lib/DAV/Browser/Plugin.php
index ec607af..e8d8dca 100644
--- a/lib/DAV/Browser/Plugin.php
+++ b/lib/DAV/Browser/Plugin.php
@@ -570,7 +570,7 @@ HTML;
private function drawPropertyRow($name, $value) {
$view = 'unknown';
- if (is_string($value)) {
+ if (is_scalar($value)) {
$view = 'string';
} elseif($value instanceof DAV\Property) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list