Dotclear

Changeset 779:58c45f1b96e5 for inc


Ignore:
Timestamp:
12/05/11 10:53:01 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Children:
782:01efbf050a8a, 784:ecb8e301fa9d
Message:

Small fixes since [777], notices should not appear now...

Location:
inc/public
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/public/class.dc.template.php

    r777 r779  
    12101210          $res = "<?php\n"; 
    12111211          $res .= $p; 
    1212           $res .= $this->core->callBehavior("templatePrepareParams","Entries",$tag,$attr); 
     1212          $res .= $this->core->callBehavior("templatePrepareParams","Entries",$attr,$content); 
    12131213          $res .= '$_ctx->post_params = $params;'."\n"; 
    12141214          $res .= '$_ctx->posts = $core->blog->getPosts($params); unset($params);'."\n"; 
  • inc/public/lib.urlhandlers.php

    r776 r779  
    2121          if (!$url) { 
    2222               $url = $this->getBase($type); 
    23                if ($url) { 
    24                     $url .= '/'; 
    25                } 
    2623               if ($value) { 
     24                    if ($url) { 
     25                         $url .= '/'; 
     26                    } 
    2727                    $url .= $value; 
    2828               } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map