PaulTurner-awin / stikked

Automatically exported from code.google.com/p/stikked
GNU General Public License v3.0
0 stars 0 forks source link

Typo in "Delete After" form altering deletion after one week. #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Typo in file stikked-0.5.4/system/application/views/default/paste_form.php at 
line 99.

Time should be 10080 and not 100080.

 86 <div class="item">
 87   <label for="expire">Delete After
 88     <span class="instruction">When should we delete your pas
 89   </label>
 90   <?php
 91     $expire_extra = 'id="expire" class="select" tabindex="7"
 92     $options = array(
 93                      "0" => "Keep Forever",
 94                      "30" => "30 Minutes",
 95                      "60" => "1 hour",
 96                      "360" => "6 Hours",
 97                      "720" => "12 Hours",
 98                      "1440" => "1 Day",
 99                      "100080" => "1 Week",
100                      "40320" => "4 Weeks"
101                      );
102    echo form_dropdown('expire', $options, $expire_set, $expire_
103  </div>

I expect the entries will no be deleted.

Original issue reported on code.google.com by michael....@gmail.com on 24 Aug 2011 at 8:57