mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix warning error better then c7f84a178d
This commit is contained in:
parent
0f66507030
commit
be062e2133
3 changed files with 3 additions and 3 deletions
|
|
@ -270,7 +270,7 @@ class Debug
|
|||
|
||||
// Get the backtrace.
|
||||
$backtrace = debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS);
|
||||
if (count($backtrace) > 1 && $backtrace[1]['function'] === 'debugPrint' && !isset($backtrace[1]['class']))
|
||||
if (count($backtrace) > 1 && $backtrace[1]['function'] === 'debugPrint' && empty($backtrace[1]['class']))
|
||||
{
|
||||
array_shift($backtrace);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@
|
|||
<!--@if($is_logged)-->
|
||||
<!-- after_login -->
|
||||
<a href="{getUrl('act', 'dispMemberInfo')}" class="login_after">
|
||||
<!--@if(isset($logged_info->profile_image->src))-->
|
||||
<!--@if(!empty($logged_info->profile_image->src))-->
|
||||
<img src="{$logged_info->profile_image->src}" alt="{$logged_info->nick_name}" />
|
||||
<!--@else-->
|
||||
<img src="./img/ico_default.jpg" alt="{$logged_info->nick_name}" />
|
||||
|
|
|
|||
|
|
@ -1073,7 +1073,7 @@ class ncenterliteController extends ncenterlite
|
|||
$_latest_notify_id = count($_latest_notify_id) > 0 ? $_latest_notify_id[0]->notify : "";
|
||||
Context::set('ncenterlite_latest_notify_id', $_latest_notify_id);
|
||||
|
||||
if(isset($_COOKIE['_ncenterlite_hide_id']) && $_COOKIE['_ncenterlite_hide_id'] == $_latest_notify_id)
|
||||
if(!empty($_COOKIE['_ncenterlite_hide_id']) && $_COOKIE['_ncenterlite_hide_id'] == $_latest_notify_id)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue