Thomas Bruederli
2012-07-13 88fb5635109ff5ed994aa5624c0bc1a95c814176
program/include/rcmail.php
@@ -726,8 +726,12 @@
   */
  public function url($p)
  {
    if (!is_array($p))
    if (!is_array($p)) {
      if (strpos($p, 'http') === 0)
        return $p;
      $p = array('_action' => @func_get_arg(0));
    }
    $task = $p['_task'] ? $p['_task'] : ($p['task'] ? $p['task'] : $this->task);
    $p['_task'] = $task;