Changeset 457

Show
Ignore:
Timestamp:
09/28/09 02:47:20 (13 years ago)
Author:
kovell
Message:

Fixed: Typo in appearance options fixed, possible navigation error on new boards using memcached fixed, ship class ensures id is valid before use.

Location:
dev/common
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • dev/common/admin/option_appearance.php

    r382 r457  
    5555options::fadd('Highlight Faction items', 'fp_ftag', 'checkbox'); 
    5656options::fadd('Highlight Deadspace items', 'fp_dtag', 'checkbox'); 
    57 options::fadd('Highloght Officer items', 'fp_otag', 'checkbox'); 
     57options::fadd('Highlight Officer items', 'fp_otag', 'checkbox'); 
    5858 
    5959class admin_appearance 
  • dev/common/includes/class.navigation.php

    r448 r457  
    8484                } 
    8585                $sql = "select count(KBSITE) as cnt from kb3_navigation WHERE KBSITE = '".KB_SITE."'"; 
    86                 $qry = new DBQuery(); 
     86                $qry = new DBQuery(true); 
    8787                // return false if query fails 
    8888                if(!$qry->execute($sql)) return false; 
  • dev/common/includes/class.ship.php

    r420 r457  
    1313    function Ship($id = 0) 
    1414    { 
    15         $this->id_ = $id; 
     15        $this->id_ = intval($id); 
    1616    } 
    1717 
     
    116116    { 
    117117        if (!$id) $id = 0; 
    118         $this->id_ = $id; 
     118        $this->id_ = intval($id); 
    119119 
    120120        $this->qry_ = new DBQuery(); 
  • dev/common/includes/globals.php

    r456 r457  
    77else 
    88{ 
    9         $svn_rev = '456'; 
     9        $svn_rev = '457'; 
    1010} 
    1111define('SVN_REV', $svn_rev);