@@ -148,7 +148,7 @@ public function handle()
148148 return $ response ;
149149 }
150150
151- return $ this ->helper ->render ('@phpbbde/pastebin_pastebin_body .html ' , $ this ->language ->lang ('PASTEBIN ' ));
151+ return $ this ->helper ->render ('@phpbbde_pastebin/pastebin_body .html ' , $ this ->language ->lang ('PASTEBIN ' ));
152152 }
153153
154154 /**
@@ -168,7 +168,7 @@ private function display_pb()
168168 $ sql = $ this ->db ->sql_build_query ('SELECT ' , array (
169169 'SELECT ' => 'pb.*, u.user_id, u.username, u.user_colour ' ,
170170 'FROM ' => array (
171- $ this ->table ( ' pastebin ' ) => 'pb ' ,
171+ $ this ->pastebin_table => 'pb ' ,
172172 USERS_TABLE => 'u ' ,
173173 ),
174174 'WHERE ' => "pb.snippet_author = u.user_id AND pb.snippet_id = $ snippet_id " ,
@@ -202,7 +202,7 @@ private function display_pb()
202202 $ sql = $ this ->db ->sql_build_query ('SELECT ' , array (
203203 'SELECT ' => 'pb.snippet_id, pb.snippet_time, pb.snippet_title, pb.snippet_desc, u.user_id, u.username, u.user_colour ' ,
204204 'FROM ' => array (
205- $ this ->table ( ' pastebin ' ) => 'pb ' ,
205+ $ this ->pastebin_table => 'pb ' ,
206206 USERS_TABLE => 'u ' ,
207207 ),
208208 'WHERE ' => 'pb.snippet_author = u.user_id ' ,
@@ -364,7 +364,7 @@ private function display_pb()
364364 'snippet_prune_on ' => time () + $ this ::SECONDS_MONTH * $ data ['snippet_prune_on ' ],
365365 );
366366
367- $ sql = 'INSERT INTO ' . $ this ->table ( ' pastebin ' ) . ' ' . $ this ->db ->sql_build_array ('INSERT ' , $ sql_ary );
367+ $ sql = 'INSERT INTO ' . $ this ->pastebin_table . ' ' . $ this ->db ->sql_build_array ('INSERT ' , $ sql_ary );
368368 $ this ->db ->sql_query ($ sql );
369369
370370 $ snippet_id = $ this ->db ->sql_nextid ();
0 commit comments