Get Some

General => Bug Reports & Feedback => Topic started by: Scopey on January 19, 2014, 11:18:44 pm

Title: Fixing ShowThread.php
Post by: Scopey on January 19, 2014, 11:18:44 pm
Code: [Select]
<?php

$param 
reset(array_keys($_GET));
$thread substr($param0strpos($param'-'));
header('Location: index.php?topic=' $thread);
exit;

Just wrote that off hand but it should work I think.

Except I got strpos around the wrong way...
Title: Re: Fixing ShowThread.php
Post by: Craigor on January 19, 2014, 11:26:09 pm
I copied and pasted that

Thanks :)
Title: Re: Fixing ShowThread.php
Post by: Scopey on January 19, 2014, 11:28:49 pm
Nice - You guys work quick :3
Title: Re: Fixing ShowThread.php
Post by: Arseynimz on January 30, 2014, 10:09:02 pm
Resolutions are made. People make happy. Many are wow.