Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Bugfix Export (-1/x instead of 0/x)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimbtech committed Jan 6, 2020
1 parent 6d56e25 commit 1d9f89f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
latest
1.2.0
1.2.1
1.2
1
2 changes: 1 addition & 1 deletion core/Utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Utilities {
/**
* The system's Version
*/
const SYS_VERSION = 'v1.2.0';
const SYS_VERSION = 'v1.2.1';

/**
* Possible chars for:
Expand Down
4 changes: 2 additions & 2 deletions core/api/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ private function csv(){
$addsHeader
);

$i = 1;
if( $this->pollsub->isValue( [$id] ) ){
$i = 1;
foreach( $this->pollsub->getValue( [$id] ) as $sub){
$addsCells = array();
if( $this->polldata->isValue(['additionals']) ){
Expand Down Expand Up @@ -140,8 +140,8 @@ private function printview(){
$h .= '<hr /><h3>'. Utilities::optimizeOutputString( $values['bez'] ) .'</h3>';
$h .= empty( $values['des'] ) ? '' : '<div>'. $mdp->text($values['des']) .'</div>';
$h .= '<table style="width: 100%;"><tr><th>ID</th><th>Name</th><th>E-Mail</th><th>Time</th>'. $addsHeader .'</tr>';
$i = 1;
if( $this->pollsub->isValue( [$id] ) ){
$i = 1;
foreach( $this->pollsub->getValue( [$id] ) as $sub){
$addsCells = '';
if( $this->polldata->isValue(['additionals']) ){
Expand Down

0 comments on commit 1d9f89f

Please sign in to comment.