Changeset 720 for trunk/phpbms/search.php
- Timestamp:
- 01/06/10 17:04:26 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/search.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/search.php
r702 r720 49 49 //initialize the object 50 50 $displayTable->initialize($_GET["id"]); 51 52 if (isset($passedjoinclause)) $_SESSION["passedjoinclause"] = $passedjoinclause; 53 if (isset($passedjoinwhere)) $_SESSION["passedjoinwhere"] = $passedjoinwhere; 51 52 if (isset($passedjoinclause)) $_SESSION["passedjoinclause"] = $passedjoinclause; 53 if (isset($passedjoinwhere)) $_SESSION["passedjoinwhere"] = $passedjoinwhere; 54 54 55 55 … … 121 121 122 122 }//endif 123 123 124 124 /** 125 * If the command is a push command, include tables.php 125 * If the command is a push command, include tables.php 126 126 */ 127 127 if(strpos($functionname, ":") !== false) 128 128 include("include/tables.php"); 129 129 130 130 //try to include table specific functions 131 131 if(file_exists("modules/".$displayTable->thetabledef["name"]."/include/".$displayTable->thetabledef["maintable"].".php")) … … 142 142 143 143 if(!preg_match("/\:/", $functionname)){ 144 144 145 145 if(method_exists($searchFunctions,$functionname)) 146 146 $statusmessage = $searchFunctions->$functionname(); 147 147 else 148 148 $statusmessage = "Function ".$functionname." not defined"; 149 149 150 150 }else{ 151 151 152 152 if(moduleExists("mod:b2d42220-443b-fe74-dbdb-ed2c0968c38c", $phpbms->modules)) 153 153 $statusmessage = $searchFunctions->runPush($therecord["name"]); 154 154 155 155 }//end if 156 156 break;