update to 0.1.5

fixed bug with "Integrity constraint violation: 1048 Column 'ip' cannot
be null"
This commit is contained in:
slawkens1
2017-05-13 22:43:14 +02:00
parent 449ce31ab4
commit 7b23ffaf23
73 changed files with 103 additions and 81 deletions

View File

@@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.3
* @version 0.1.5
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
@@ -248,7 +248,7 @@ Please enter your account name and your password.<br/><a href="?subtopic=createa
foreach($account_logged->getActionsLog(0, 1000) as $action)
{
echo '<tr style="background-color:' . getStyle($player_number_counter++) . '"><td>'.$action['action'] . '</td><td>' . date("jS F Y H:i:s",$action['date']) . '</td>
<td>' . long2ip($action['ip']) . '</td></tr>';
<td>' . ($action['ip'] != 0 ? long2ip($action['ip']) : inet_ntop($action['ipv6'])) . '</td></tr>';
}
echo '</table>