Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Павел Резуненко
/
MTAweb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c29f0bd7
authored
Mar 27, 2013
by
Павел Резуненко
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Исправление неопределенной переменной
1 parent
c851fc8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
public/protected/components/Controller.php
public/protected/components/Controller.php
View file @
c29f0bd
...
@@ -38,6 +38,7 @@ class Controller extends /*WRestController*/ CController
...
@@ -38,6 +38,7 @@ class Controller extends /*WRestController*/ CController
public
function
handleError
(
CEvent
$event
)
public
function
handleError
(
CEvent
$event
)
{
{
$error
=
(
$event
instanceof
CExceptionEvent
)
?
$event
->
exception
:
$event
;
$error
=
(
$event
instanceof
CExceptionEvent
)
?
$event
->
exception
:
$event
;
$type
=
null
;
if
(
$event
instanceof
CExceptionEvent
)
{
if
(
$event
instanceof
CExceptionEvent
)
{
if
((
$trace
=
$this
->
getExactTrace
(
$error
))
===
null
)
{
if
((
$trace
=
$this
->
getExactTrace
(
$error
))
===
null
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment