Changeset 49dac95 in github


Ignore:
Timestamp:
Apr 20, 2011 4:48:29 AM (2 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
f6bd520
Parents:
4687446
Message:

Don't add env variable when template is empty (e.g. on error page)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_template.php

    ref27a6a r49dac95  
    343343        } 
    344344 
    345         $this->set_env('request_token', $this->app->get_request_token()); 
     345        if (!empty($this->script_files)) 
     346          $this->set_env('request_token', $this->app->get_request_token()); 
    346347 
    347348        // write all env variables to client 
Note: See TracChangeset for help on using the changeset viewer.