Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
643f4ea9
Commit
643f4ea9
authored
Mar 15, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Исправил некоторые ошибки в файле модели опечатки
parent
9919a10a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Typo.php
cp/application/models/Typo.php
+4
-2
No files found.
cp/application/models/Typo.php
View file @
643f4ea9
...
@@ -178,6 +178,8 @@ class Typo extends CI_Model {
...
@@ -178,6 +178,8 @@ class Typo extends CI_Model {
}
else
{
}
else
{
return
false
;
return
false
;
}
}
return
true
;
}
}
/* Добавляем новое сообщение */
/* Добавляем новое сообщение */
...
@@ -190,7 +192,7 @@ class Typo extends CI_Model {
...
@@ -190,7 +192,7 @@ class Typo extends CI_Model {
"link"
=>
$data
[
'link'
],
"link"
=>
$data
[
'link'
],
"error_text"
=>
$data
[
'error_text'
],
"error_text"
=>
$data
[
'error_text'
],
"comment"
=>
$data
[
'comment'
],
"comment"
=>
$data
[
'comment'
],
"date"
=>
$dat
e
(
'Y-m-d H:i:s'
,
time
()),
"date"
=>
$dat
a
(
'Y-m-d H:i:s'
,
time
()),
"status"
=>
$data
[
'status'
],
"status"
=>
$data
[
'status'
],
];
];
...
@@ -265,7 +267,7 @@ class Typo extends CI_Model {
...
@@ -265,7 +267,7 @@ class Typo extends CI_Model {
/**
/**
* Отправляет запрос на исправление ошибки на сервер
* Отправляет запрос на исправление ошибки на сервер
*
*
* @param
type $message_id
* @param
integer $message_id
* Номер сообщения в бд
* Номер сообщения в бд
*/
*/
function
correctTypo
(
$message_id
)
{
function
correctTypo
(
$message_id
)
{
...
...
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