Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Changed the name of the pageposts table
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Oct 17, 2010
1 parent ae03b7c commit c3ce206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/profile/models/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ public function __construct ( $pTables = null ) {

public function RetrieveCurrent ( $pUserId ) {

$criteria = array ( "Owner_FK" => $pUserId, "Current" => 1 );
$criteria = array ( "User_FK" => $pUserId, "Current" => 1 );
$this->Retrieve ( $criteria );

return ( true );
}

public function ClearCurrent ( $pUserId ) {
$criteria = array ( "Owner_FK" => $pUserId, "Current" => 1 );
$criteria = array ( "User_FK" => $pUserId, "Current" => 1 );
$this->Retrieve ( $criteria );

if ( $this->Get ( " Total" ) == 0 ) return ( true );
Expand Down

0 comments on commit c3ce206

Please sign in to comment.