Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a1cf0ae

Browse files
author
Matthew
committed
Edited ExecuteSQL function
Fixes ArrayResults funtion when using Select method, returned empty array before
1 parent 6adecdf commit a1cf0ae

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎class.MySQL.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,7 @@ function ExecuteSQL($query){
121121
$this->records = @mysql_num_rows($this->result);
122122
$this->affected = @mysql_affected_rows($this->databaseLink);
123123

124-
if($this->records > 0){
125-
$this->ArrayResults();
126-
return $this->arrayedResult;
127-
}else{
128-
return true;
129-
}
124+
return true;
130125

131126
}else{
132127
$this->lastError = mysql_error($this->databaseLink);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /