phpBMS

Show
Ignore:
Timestamp:
01/07/10 16:01:56 (2 years ago)
Author:
brieb
Message:
  • code clean up
  • changed list display of table definitions
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/search.php

    r728 r729  
    8282 
    8383                        if($_POST["theids"] === "") 
    84                                 $_POST["theids"]="-100"; 
     84                            $_POST["theids"]="-100"; 
    8585 
    8686                        $theids=explode(",",$_POST["theids"]); 
    87                         $_SESSION["printing"]["tableid"]=$displayTable->thetabledef["uuid"]; 
    88                         $_SESSION["printing"]["maintable"]=$displayTable->thetabledef["maintable"]; 
     87                        $_SESSION["printing"]["tableid"] = $displayTable->thetabledef["uuid"]; 
     88                        $_SESSION["printing"]["maintable"] = $displayTable->thetabledef["maintable"]; 
    8989                        $_SESSION["printing"]["theids"]=$theids; 
    9090                        goURL("print.php"); 
     
    103103 
    104104                        //grab the method name 
    105                         if(((int) $_POST["othercommands"]) === -1) 
    106                                 $functionname = "delete_record"; 
    107                         else { 
     105                        if(((int) $_POST["othercommands"]) === -1){ 
     106 
     107                            $functionname = "delete_record"; 
     108 
     109                        } else { 
    108110 
    109111                                $querystatement = " 
     
    120122 
    121123                                $functionname = $therecord["name"]; 
     124 
     125                                if(!hasRights($therecord["roleid"])) 
     126                                    goURL(APP_PATH."noaccess.php"); 
    122127 
    123128                        }//endif 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.