 |
|
 |
|
- Readme First! - Read and follow the rules, otherwise your posts will be closed |
|
|
|
|
|
There are currently, 168 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here |
|
|
|
|
|
Little error/bug in mainfile.php function headlines and fix |
|
magmf writes "I Found a little problem with headlines refresh time in mainfile.php
function headlines($bid, $cenbox=0) {
global $prefix, $db;
$sql = "SELECT title, content, url, refresh, time FROM ".$prefix."_blocks WHERE bid='$bid'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$title = $row[title];
$content = $row[content];
$url = $row[url];
$refresh = $row[refresh];
$otime = $row[otime]; // this is the error
to fix
change $otime = $row[otime];
to
$otime = $row[time];
This error was found by
Marcus Maciel(ScOrP|On) - www.underlinux.com.br
and
Augusto Campos - www.brlinux.org
"
|
|
Posted on Monday, January 12 @ 22:22:44 CET by Zhen-Xjell |
|
|
|
|
| |
|
Average Score: 2 Votes: 1

|
|
|
|
|
|
| The comments are owned by the poster. We aren't responsible for their content. |
| | | | |
No Comments Allowed for Anonymous, please register | | | | |
Re: Little error/bug in mainfile.php function headlines and fix (Score: 1) by luchtzak on Tuesday, January 13 @ 04:06:32 CET (User Info | Send a Message) http://www.luchtzak.be | Why don't you include the version where the fix is applicable ? I checked my version 6.7 and that seemed to be ok there. My guess that it's for version 7.0 only. |
| | | | |
Re: Little error/bug in mainfile.php function headlines and fix (Score: 1) by magmf on Tuesday, January 13 @ 05:19:03 CET (User Info | Send a Message) | Version 6.9 is the version ... but i think 7.0 have this error too |
| | | | |
Re: Little error/bug in mainfile.php function headlines and fix (Score: 1) by judas (judas_iscariote@piscola.com) on Tuesday, January 13 @ 17:00:36 CET (User Info | Send a Message) | this bug isnt new..
it was fixed on nukecops cvs a long time ago..
..one more reason to use the bundle:)
|
| | | | | |
|