Index: trunk/phase3/maintenance/fuzz-tester.php |
— | — | @@ -2472,7 +2472,7 @@ |
2473 | 2473 | |
2474 | 2474 | curl_close ( $ch ); |
2475 | 2475 | |
2476 | | - $valid = ( strpos( $result, "Failed validation" ) === false ? true : false ); |
| 2476 | + $valid = ( strpos( $result, "Failed validation" ) === false ); |
2477 | 2477 | |
2478 | 2478 | return array( $valid, $result ); |
2479 | 2479 | } |
Index: trunk/phase3/includes/db/DatabaseMssql.php |
— | — | @@ -1046,7 +1046,7 @@ |
1047 | 1047 | $this->tablename = $info['TABLE_NAME']; |
1048 | 1048 | $this->default = $info['COLUMN_DEFAULT']; |
1049 | 1049 | $this->max_length = $info['CHARACTER_MAXIMUM_LENGTH']; |
1050 | | - $this->nullable = ( strtolower( $info['IS_NULLABLE'] ) == 'no' ) ? false:true; |
| 1050 | + $this->nullable = !( strtolower( $info['IS_NULLABLE'] ) == 'no' ); |
1051 | 1051 | $this->type = $info['DATA_TYPE']; |
1052 | 1052 | } |
1053 | 1053 | |