[Tickets #1912] Undefined index in Horde/Block/Layout.php

bugs@bugs.horde.org bugs at bugs.horde.org
Sat May 7 14:10:42 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=1912
-----------------------------------------------------------------------
 Ticket             | 1912
 Updated By         | Matt Selsky <selsky at columbia.edu>
 Summary            | Undefined index in Horde/Block/Layout.php
 Queue              | Horde Base
 Version            | 3.0.4
 State              | Feedback
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


Matt Selsky <selsky at columbia.edu> (2005-05-07 14:10) wrote:

$prefs->getValue('portal_layout'):

a:3:{i:0;a:2:{i:0;a:4:{s:3:"app";s:3:"imp";s:6:"height";i:1;s:5:"width";i:1;
s:6:"params";a:2:{s:4:"type";s:7:"summary";s:6:"params";a:2:{s:11:"show_unre
ad";s:2:"on";s:10:"show_total";s:2:"on";}}}i:1;a:4:{s:3:"app";s:5:"klutz";s:
6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:{s:4:"type";s:7:"summary";s:
6:"params";a:0:{}}}}i:1;a:2:{i:0;s:5:"empty";i:1;s:5:"empty";}i:2;a:2:{i:0;a
:4:{s:3:"app";s:5:"horde";s:6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:
{s:4:"type";s:6:"google";s:6:"params";a:2:{s:6:"offend";s:0:"";s:7:"fortune"
;a:1:{i:0;s:0:"";}}}}i:1;a:4:{s:3:"app";s:5:"horde";s:6:"height";i:1;s:5:"wi
dth";i:1;s:6:"params";a:2:{s:4:"type";s:7:"sunrise";s:6:"params";a:1:{s:8:"l
ocation";s:13:"51.517:-0.117";}}}}}

var_dump(unserialize($prefs->getValue('portal_layout'))):

array(3) {
  [0]=>
  array(2) {
    [0]=>
    array(4) {
      ["app"]=>
      string(3) "imp"
      ["height"]=>
      int(1)
      ["width"]=>
      int(1)
      ["params"]=>
      array(2) {
        ["type"]=>
        string(7) "summary"
        ["params"]=>
        array(2) {
          ["show_unread"]=>
          string(2) "on"
          ["show_total"]=>
          string(2) "on"
        }
      }
    }
    [1]=>
    array(4) {
      ["app"]=>
      string(5) "klutz"
      ["height"]=>
      int(1)
      ["width"]=>
      int(1)
      ["params"]=>
      array(2) {
        ["type"]=>
        string(7) "summary"
        ["params"]=>
        array(0) {
        }
      }
    }
  }
  [1]=>
  array(2) {
    [0]=>
    string(5) "empty"
    [1]=>
    string(5) "empty"
  }
  [2]=>
  array(2) {
    [0]=>
    array(4) {
      ["app"]=>
      string(5) "horde"
      ["height"]=>
      int(1)
      ["width"]=>
      int(1)
      ["params"]=>
      array(2) {
        ["type"]=>
        string(6) "google"
        ["params"]=>
        array(2) {
          ["offend"]=>
          string(0) ""
          ["fortune"]=>
          array(1) {
            [0]=>
            string(0) ""
          }
        }
      }
    }
    [1]=>
    array(4) {
      ["app"]=>
      string(5) "horde"
      ["height"]=>
      int(1)
      ["width"]=>
      int(1)
      ["params"]=>
      array(2) {
        ["type"]=>
        string(7) "sunrise"
        ["params"]=>
        array(1) {
          ["location"]=>
          string(13) "51.517:-0.117"
        }
      }
    }
  }
}





More information about the bugs mailing list