Show
Ignore:
Timestamp:
09/06/08 21:46:19 (4 months ago)
Author:
bjohnson
Message:

schema06: Fixing a bunch of syntax errors in recent commits. Habari
successfully installs now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/schema06/system/classes/post.php

    r2448 r2451  
    10061006    { 
    10071007        $token_id = ACL::token_id( $permission ); 
    1008         if ( $token_id !== FALSE ) { 
     1008        if ( isset( $token_id ) ) { 
    10091009            DB::insert( '{post_tokens}', array( 'post_id' => $this->id, 'token_id' => $token_id ) ); 
    10101010        } 
     
    10161016    public function delete_permissions() 
    10171017    { 
    1018         DB::delete( '{post_tokens}', array( 'post_id', => $this->id ) ); 
     1018        DB::delete( '{post_tokens}', array( 'post_id' => $this->id ) ); 
    10191019    } 
    10201020}