Show
Ignore:
Timestamp:
05/22/08 19:50:23 (6 months ago)
Author:
hsbt
Message:

escape nil error.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/tdiary/plugin/account_ad.rb

    r12211 r12212  
    1313         
    1414        if @conf['account.service'] and @conf['account.name'] then 
    15                 if @mode == "day"  
    16                         permalink=@conf.base_url + anchor(@date.strftime('%Y%m%d')) 
     15                if @mode == "day" and not @date == nil then 
     16                        permalink=@conf.base_url + anchor( @date.strftime('%Y%m%d') ) 
    1717                else 
    1818                        permalink=@conf.base_url