Skip to content

Commit

Permalink
Update class.php
Browse files Browse the repository at this point in the history
Methods with the same name as their class will not be constructors in a future version of PHP
  • Loading branch information
FDiskas authored Jan 31, 2018
1 parent 859f828 commit 5e6195b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions priedai/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class Table
var $style = 1;
var $width;

function Table() {
function __construct() {

$ids = uniqid();
/*<script> $(document).ready(function()
Expand Down Expand Up @@ -190,4 +190,4 @@ function finish() {
}
}

?>
?>

0 comments on commit 5e6195b

Please sign in to comment.