]> git.mxchange.org Git - friendica.git/commitdiff
Frio: Fix warnings in config page
authorfabrixxm <fabrix.xm@gmail.com>
Fri, 27 May 2016 13:50:51 +0000 (15:50 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Fri, 27 May 2016 13:50:51 +0000 (15:50 +0200)
view/theme/frio/config.php

index cb4610e5905f1d0e7939ca33c2c8ab8fdabe8797..2e896d45f6883b4d523f5fab7d85fed516db5555 100644 (file)
@@ -36,6 +36,7 @@ function frio_form(&$a, $arr) {
        
        $scheme_info = get_schema_info($arr["schema"]);
        $disable = $scheme_info["overwrites"];
+       if (!is_array($disable)) $disable = array();
 
        $scheme_choices = array();
        $scheme_choices["---"] = t("Default");