Changeset 6550 for trunk/admin/include/functions_upgrade.php
- Timestamp:
- Jun 17, 2010, 8:10:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upgrade.php
r6131 r6550 88 88 FROM '.PREFIX_TABLE.'plugins 89 89 WHERE state = "active" 90 AND id NOT IN ( "' . implode('","', $standard_plugins) . '")90 AND id NOT IN (\'' . implode('\',\'', $standard_plugins) . '\') 91 91 ;'; 92 92 … … 103 103 UPDATE '.PREFIX_TABLE.'plugins 104 104 SET state="inactive" 105 WHERE id IN ( "' . implode('","', $plugins) . '")105 WHERE id IN (\'' . implode('\',\'', $plugins) . '\') 106 106 ;'; 107 107 pwg_query($query); … … 163 163 SELECT password, status 164 164 FROM '.USERS_TABLE.' 165 WHERE username = "'.$username.'"165 WHERE username = \''.$username.'\' 166 166 ;'; 167 167 } … … 173 173 INNER JOIN '.USER_INFOS_TABLE.' AS ui 174 174 ON u.'.$conf['user_fields']['id'].'=ui.user_id 175 WHERE '.$conf['user_fields']['username'].'= "'.$username.'"175 WHERE '.$conf['user_fields']['username'].'=\''.$username.'\' 176 176 ;'; 177 177 }
Note: See TracChangeset
for help on using the changeset viewer.