Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
neralex
The Mouse Is Extension Of Arm


Joined: Aug 22, 2007
Posts: 1318
Location: Germany

PostPosted: Mon Apr 30, 2012 7:28 am Reply with quote

hey guys!

i found unnecessary date definitions for day, month and year inside the function previewAdminStory to set the autonews options. the definitions come with the post in this function. by these unnecessary definitions must be the date in the preview again and again entered.

open Modules/News/admin/index.php
and search in function previewAdminStory:

Code:
   $tday = date('j');

   $tmonth = date('n');
   $year = date('Y');


change it to:
Code:
   $tday = $day;

   $tmonth = $month;
//   $year not needed to define



Wink
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©