phpBMS

Changeset 167

Show
Ignore:
Timestamp:
10/24/06 13:20:09 (6 years ago)
Author:
brieb
Message:

Fixes #39.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/print.php

    r155 r167  
    114114                                                if($reportrecord["type"]=="PDF Report") 
    115115                                                        $fakeExtForIE="&ext=.pdf"; 
     116                                                $dateTimeStamp="&ts=".mktime(); // make the url unique to avoid using browser cache 
    116117                                                //javascript open each report in new window 
    117                                                 $tablePrinter->openwindows.="window.open('".$_SESSION["app_path"].$reportrecord["reportfile"]."?tid=".urlencode($tablePrinter->tableid).$fakeExtForIE."','print".$i."');\n"; 
     118                                                $tablePrinter->openwindows.="window.open('".$_SESSION["app_path"].$reportrecord["reportfile"]."?tid=".urlencode($tablePrinter->tableid).$dateTimeStamp.$fakeExtForIE."','print".$i."');\n"; 
    118119                                        } 
    119120                                } 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.