]> source.dussan.org Git - nextcloud-server.git/commit
Verify whether type is correct
authorLukas Reschke <lukas@owncloud.com>
Thu, 8 Jan 2015 17:33:35 +0000 (18:33 +0100)
committerLukas Reschke <lukas@owncloud.com>
Thu, 8 Jan 2015 17:38:17 +0000 (18:38 +0100)
commitceaaab6295ad30e066c9d5505e9131136bafbdb8
treea18a83a8878e34400157232ef89487fb8899d3bc
parentaf269258d3dbcb610dad3bd241464845425d5123
Verify whether type is correct

`$this->info` can very well contain an empty array or possibly other values. This means that when this code path is called a PHP Fatal error might get thrown which is not what we want.
core/ajax/preview.php
lib/private/preview.php