Changeset 3298870
- Timestamp:
- 05/22/2025 02:45:14 PM (7 months ago)
- Location:
- scratch-and-win
- Files:
-
- 2 edited
-
tags/1.1.3/src/database.php (modified) (2 diffs)
-
trunk/src/database.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scratch-and-win/tags/1.1.3/src/database.php
r2859739 r3298870 7 7 class Database 8 8 { 9 10 use DATA\TDateTime; 11 9 12 private $native; 10 13 … … 452 455 $column->game_id = intval( $column->game_id ); 453 456 $column->user_id = intval( $column->user_id ); 454 $column->creation = DATA\Db::getDatetimeFromString( $column->creation ); // trasformare Db in trait 457 //$column->creation = DATA\Db::getDatetimeFromString( $column->creation ); // trasformare Db in trait 458 $column->creation = self::getDatetimeFromString( $column->creation ); // fatto 455 459 $column->cancelled = boolval( $column->cancelled ); 456 460 $column->deleted = boolval( $column->deleted ); 457 $column->prize = trim( $column->prize ); // convert null to empty string461 $column->prize = trim( (string)$column->prize ); // convert null to empty string 458 462 unset($column); 459 463 } -
scratch-and-win/trunk/src/database.php
r2859739 r3298870 7 7 class Database 8 8 { 9 10 use DATA\TDateTime; 11 9 12 private $native; 10 13 … … 452 455 $column->game_id = intval( $column->game_id ); 453 456 $column->user_id = intval( $column->user_id ); 454 $column->creation = DATA\Db::getDatetimeFromString( $column->creation ); // trasformare Db in trait 457 //$column->creation = DATA\Db::getDatetimeFromString( $column->creation ); // trasformare Db in trait 458 $column->creation = self::getDatetimeFromString( $column->creation ); // fatto 455 459 $column->cancelled = boolval( $column->cancelled ); 456 460 $column->deleted = boolval( $column->deleted ); 457 $column->prize = trim( $column->prize ); // convert null to empty string461 $column->prize = trim( (string)$column->prize ); // convert null to empty string 458 462 unset($column); 459 463 }
Note: See TracChangeset
for help on using the changeset viewer.