Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#640 0.96 CVS broken

closed-fixed
Steve
None
5
2009-09-08
2009-09-08
No

Since the last changes on lib/owl.lib.php, it's not possible to do some action.

I had to reverse this change. $id is never numerical as far I can see.

diff --git a/lib/owl.lib.php b/lib/owl.lib.php
index fcd8c9c..dfa5e07 100755
--- a/lib/owl.lib.php
+++ b/lib/owl.lib.php
@@ -128,13 +128,6 @@ else
$sess="1";
}

-if (!is_numeric($id))
-{
- // someone tapered with the ID?
- /// redirect to browse Page
- $id=0;
- $action="";
-}

if(!isset($default->owl_FileDir))
{

Discussion

  • Steve
    Steve
    2009-09-08

    Was changed to:

    if (isset($id) and !is_numeric($id))
    {
    // someone tapered with the ID?
    /// redirect to browse Page
    $id=0;
    $action="";
    }

    Checking in lib/owl.lib.php;
    /cvsroot/owl/owl-0.90/lib/owl.lib.php,v <-- owl.lib.php
    new revision: 1.151; previous revision: 1.150
    done

    B0zz

     
    • status: open --> closed
     
  • Woooah, too fast for me bOzz :)

    Thanks

     
  • Steve
    Steve
    2009-09-08

    • assigned_to: nobody --> b0zz
    • status: closed --> closed-fixed
     
  • Steve
    Steve
    2009-09-08

    My Pleasure.

    B0zz