File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ public static function fixTableComments($theSourceCode)
180180 $ level = 0 ;
181181 foreach ($ source_lines as $ i => $ line )
182182 {
183- if ($ table_name )
183+ if (isset ( $ table_name) )
184184 {
185185 if (preg_match ('/\)|\(/ ' , $ source_lines [$ i ], $ matches ))
186186 {
@@ -247,7 +247,7 @@ public static function fixTableComments($theSourceCode)
247247 *
248248 * @return string
249249 */
250- static protected function escapeMysqlString ($ unescaped_string )
250+ protected static function escapeMysqlString ($ unescaped_string )
251251 {
252252 // We prefer to use mysqli::escape_string but this method requires a connection. Since ERD Concepts generates
253253 // SQL code in UTF-8 and $unescaped_string is not user input (from the evil internet) we can safely use addslashes.
You can’t perform that action at this time.
0 commit comments