alecpl
2008-05-10 9d9f8dc83416cb493cfab94e1008af847abe6a41
program/include/rcube_json_output.php
@@ -41,10 +41,10 @@
    /**
     * Constructor
     */
    public function __construct(&$config, $task)
    public function __construct($task)
    {
        $this->task   = $task;
        $this->config = $config;
        $this->config = rcmail::get_instance()->config;
    }
    
    
@@ -64,7 +64,8 @@
     */
    public function set_pagetitle($title)
    {
        // ignore
   $name = $this->config->get('product_name');
   $this->command('set_pagetitle', JQ(empty($name) ? $title : $name.' :: '.$title));
    }
    /**
@@ -232,7 +233,7 @@
                implode(',', $args)
            );
        }
        return $out;
    }
}