For some to me unknown reason i can no longer read reviews on anidb.
It doesn't matter which anime i chose i allways get the "
ERROR:
Reviewing this anime is not possible; air date lies in the future or is not defined."
Even if the anime in question ended years ago and have been reviewed several times.
I used to be able to read the reviews and havent changed any profile settings.
Just wanted to make this issue known since im asuming others are having the same problem,
Can't read reviews
Moderator: AniDB
Blame: epoximator "allow vote/review when year lies in past even if month/day is unknown"
Patch:
Rar
Code: Select all
diff -u -r1.21 -r1.22
--- mod_perl/subs/adbs_animeatt.pm 25 May 2007 17:40:12 -0000 1.21
+++ mod_perl/subs/adbs_animeatt.pm 2 Jun 2007 09:03:44 -0000 1.22
@@ -37,14 +37,16 @@
return;
}
- if ( !$anime->{'airdate'} || $anime->{'airdate'} > ( time() + 24 * 60 * 60 ) )
+ if ( &adb_animeairdate_symbols::in_past( 'AIR',
+ $anime->{'airdate'}, $anime->{'dateflags'} ) )
{
&adbs_all::show_error(
"Reviewing this anime is not possible; air date lies in the future or is not defined.");
return;
}
- if ( !$anime->{'enddate'} || $anime->{'enddate'} > ( time() + 24 * 60 * 60 ) )
+ if ( &adb_animeairdate_symbols::in_past( 'END',
+ $anime->{'enddate'}, $anime->{'dateflags'} ) )
{
&adbs_all::show_error(
"Reviewing this anime is not possible; end date lies in the future or is not defined.");
Code: Select all
diff -u -r1.23 -r1.24
--- mod_perl/subs/adbs_animeatt.pm 8 Jun 2007 15:10:53 -0000 1.23
+++ mod_perl/subs/adbs_animeatt.pm 9 Jun 2007 21:35:19 -0000 1.24
@@ -37,14 +37,14 @@
return;
}
- if ( &adb_animeairdate_symbols::in_past( 'AIR', $anime->{'airdate'}, $anime->{'dateflags'} ) )
+ if ( !&adb_animeairdate_symbols::in_past( 'AIR', $anime->{'airdate'}, $anime->{'dateflags'} ) )
{
&adbs_all::show_error(
"Reviewing this anime is not possible; air date lies in the future or is not defined.");
return;
}
- if ( &adb_animeairdate_symbols::in_past( 'END', $anime->{'enddate'}, $anime->{'dateflags'} ) )
+ if ( !&adb_animeairdate_symbols::in_past( 'END', $anime->{'enddate'}, $anime->{'dateflags'} ) )
{
&adbs_all::show_error(
"Reviewing this anime is not possible; end date lies in the future or is not defined.");