Changeset 729 for trunk/phpbms/search.php
- Timestamp:
- 01/07/10 16:01:56 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/search.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/search.php
r728 r729 82 82 83 83 if($_POST["theids"] === "") 84 $_POST["theids"]="-100";84 $_POST["theids"]="-100"; 85 85 86 86 $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"]; 89 89 $_SESSION["printing"]["theids"]=$theids; 90 90 goURL("print.php"); … … 103 103 104 104 //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 { 108 110 109 111 $querystatement = " … … 120 122 121 123 $functionname = $therecord["name"]; 124 125 if(!hasRights($therecord["roleid"])) 126 goURL(APP_PATH."noaccess.php"); 122 127 123 128 }//endif