Changeset 1290

Show
Ignore:
Timestamp:
01/04/07 09:40:20 (2 years ago)
Author:
jm3
Message:

fixed portal ispublic bug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • feedmelinks/modules/recent-with-times.inc.php

    r1177 r1290  
    8383                $tag = mysql_result($q,$i,"tag"); 
    8484                $tagID = mysql_result($q,$i,"tagID"); 
     85                if( isPublicLine( $id )) { 
    8586 
    8687                if( $format == "1-per-line" ) { 
     
    176177                echo "</div>"; 
    177178        } 
     179        } 
    178180        $lastID = $id; 
    179181        } # end for 
  • feedmelinks/modules/utils.inc.php

    r1289 r1290  
    37583758} 
    37593759 
     3760function isPublicLink( $id ) { 
     3761        $private = isPrivate( $id ); 
     3762        return ($private == "NULL" || !$private) ? 1 : 0; 
     3763  return false; 
     3764} 
     3765 
    37603766function isPublic( $folderName ) { 
    3761   echo "FUCKED!"; 
    37623767  return false; 
    37633768}