Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
7b0d58a7
Commit
7b0d58a7
authored
Jan 02, 2016
by
MBoretto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing DB field
parent
f30ef525
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
DB.php
src/DB.php
+1
-1
Telegram.php
src/Telegram.php
+0
-1
No files found.
src/DB.php
View file @
7b0d58a7
...
...
@@ -343,7 +343,7 @@ class DB
$sth
->
bindParam
(
':chat_id'
,
$chat_id
,
\PDO
::
PARAM_STR
);
$sth
->
bindParam
(
':forward_from'
,
$forward_from
,
\PDO
::
PARAM_STR
);
$sth
->
bindParam
(
':forward_date'
,
$forward_date
,
\PDO
::
PARAM_STR
);
$sth
->
bindParam
(
':reply_to_message'
,
$reply_to_message
,
\PDO
::
PARAM_
STR
);
$sth
->
bindParam
(
':reply_to_message'
,
$reply_to_message
,
\PDO
::
PARAM_
INT
);
$sth
->
bindParam
(
':text'
,
$text
,
\PDO
::
PARAM_STR
);
$sth
->
bindParam
(
':audio'
,
$audio
,
\PDO
::
PARAM_STR
);
$sth
->
bindParam
(
':document'
,
$document
,
\PDO
::
PARAM_STR
);
...
...
src/Telegram.php
View file @
7b0d58a7
...
...
@@ -181,7 +181,6 @@ class Telegram
public
function
enableMySQL
(
array
$credential
,
$table_prefix
=
null
)
{
$this
->
pdo
=
DB
::
initialize
(
$credential
,
$table_prefix
);
TrackingDB
::
initializeTracking
();
$this
->
mysql_enabled
=
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment